Jump to content
SmittyB

Pseudo Vertical Scrolling Demo - "The Art of Scrolling Without Scrolling"

Recommended Posts

I was asked recently about vertical scrolling for a shooter on the 7800. Of course this isn't a straightforward thing to do, so as usual I thought I'd bring up the old idea of drawing a static object on the screen and then scrolling the graphics memory in RAM.

This isn't by any means the best example simply because I didn't want to spend too long on a throwaway demonstration, but it should give people an idea of how to go about it. I call it "The Art of Scrolling Without Scrolling".

 

Demo running on raz0red's JS7800

 

TheArtOfScrollingWithoutScrolling.png.1526da3d3297e9aeb035ae7e626d9d14.png

 

TheArtOfScrollingWithoutScrolling.zip TheArtOfScrollingWithoutScrolling.bas.a78

  • Like 12
  • Thanks 2

Share this post


Link to post
Share on other sites

When you say “not straightforward” are you talking about the parallax scrolling shown in your demo (an impressive effect!), or vertical scrolling in general?

Share this post


Link to post
Share on other sites

I mean the typical method on the 7800 of changing the zone sizes and then using an interrupt to fiddle with graphics offsets. As 7800BASIC sits right now I don't think there's a way to implement it with games using that.

 

This method let's you not only scroll the whole screen if you want but individual parts of it as you see in the demo, and the same ideas can be applied to horizontal scrolling, fade effects, or plenty of other nifty tricks.

  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites

Thanks for giving me the inspiration to re-write my game on account of my original main file getting too cluttered and possibly bloated.

Share this post


Link to post
Share on other sites
8 hours ago, SlidellMan said:

Thanks for giving me the inspiration to re-write my game on account of my original main file getting too cluttered and possibly bloated.

No problems, I hope it lets you achieve what you're aiming for.

  • Like 1
  • Thanks 1

Share this post


Link to post
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...