Jump to content
IGNORED

Vertical Texture Scrolling


OVERRiDE

Recommended Posts

Hi guys,

 

Looking for advice or examples for an effect I would like to achieve - vertical scrolling of a sprite texture on the Y axis.

 

Jagstudio has an example of how to scroll a sprite / texture horizontally on the X axis but I'm not seeing how this can be applied in the Y axis instead.  The vertscroller example is scrolling text data and I'm also not seeing how this can be applied to texture data.

 

Ive attempted manipulating the texture data itself in memory, but the results are not correct as Im not sure how the texture pixel array is laid out in memory.  This approach is also slow on the 68k, so there must be a better solution.

 

As always any feedback appreciated!

Edited by OVERRiDE
  • Like 1
Link to comment
Share on other sites

Thank you @CyranoJ this is exactly the simple solution I was looking for 😂.  Obviously there is more to it than this ( wrapping, etc. ) but this does achieve the effect I wanted.

 

Hard to tell from the screenshots, but the ground moves towards you as you move forward in the environment 😃


image.thumb.png.6b67aac9cb9532257dd885008d51af89.png
 

image.thumb.png.2c924f91d2dcdb05c55d906bae820d2c.png

image.thumb.png.2bb53539f0143925637d8561eeb9bc18.png
image.thumb.png.200db648c8cdaf9e0d348b35672ceef4.png

  • Like 6
Link to comment
Share on other sites

  • 2 weeks later...

Thanks for the interest!  I will release a playable build once I've completed my proof of concept, but I still have plenty of work to do before I get to that point. 

 

For now, I'll share a few more screens of current progress for a new project I'm working on 😃

 

image.thumb.png.fe3dfa9424f7246a5f92332634f4e779.png

image.thumb.png.868de303aa401ab1cbbe520ea59845df.png

image.thumb.png.72b755a57baa0bb3672e6d5a7d695a68.png

 

  • Like 1
Link to comment
Share on other sites

On 7/10/2023 at 6:11 PM, SlidellMan said:

So, what are you trying to make, @OVERRiDE?

Basicaly what @Gemintronic said lol.

 

On-Rails Sprite Scaler Shooter inspired by Panzer Dragoon.

 

Currently feeling out the capabilities of the system to see what is possible.  My oringal attempts were unfortunately over-ambitious for the hardware, but with some tuning I believe a good balance can be found to achieve nice results 

Edited by OVERRiDE
  • Like 1
Link to comment
Share on other sites

On 7/12/2023 at 7:59 PM, SlidellMan said:

Nice, and I might have to make some graphics and music for you.

Thanks! PM Sent!

 

Making good progress on this project.  Pushing huge sprite lists and working on real hardware.  Still a few issues I need to root cause before I am able to call this POC complete, but the most basic mechanics are in place.

The player can lock-on to enemies and rapid-fire at them simultaneously 😃


image.thumb.png.5792dbfd75973b93615950a59a32370e.png

image.thumb.png.7dc7d7df1471882166c552b985b519a7.png

image.thumb.png.eb795d7d87d732a4b88ea97fcdc333b8.png
image.thumb.png.c728170c76106df54f9b98efe5bc61d5.png

 

image.png

Edited by OVERRiDE
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

6 hours ago, SlidellMan said:

So, when will a playable build be released? (Just curious.)

If I had to guess, likely September.  My free time to work on these projects is limited, and next month I will be out of state for 3 weeks and will not have my personal workstation with me so this project will not make much progress in August.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...