Jump to content

Parallax scrolling vertical


Recommended Posts

I was wondering if there are any examples on how to do parallax scrolling in Bb. Something like the background in Flappy.

For my game I'd like to move it vertically though.


I've looked around but it doesn't seem to be documented? Or I'm looking for the wrong keyword.

Edited by Coolcrab
Link to comment
Share on other sites

Seems like parallax scrolling simply means that horizontal strips are moving at different speeds (the lowest strip on the screen scrolls the fastest and the highest strip on the screen scrolls the slowest).


The standard kernel scrolls the whole playfield and you only have two sprites, so it would be kind of hard to have strips that scroll at different speeds. There is no horizontal playfield scrolling for the DPC+ kernel at this time, so you'd have to use some of the sprites to simulate strips moving at different speeds.

Link to comment
Share on other sites

This is something that ANTIC powered display lists on the Atari 5200/400/800 are uniquely suited for.


Soft Display lists have been added to Flashback BASIC and SuperCharger BASIC so an implementation is likely possible for a future DPC+ kernel, here is a thread with a display list demo showing the screen divided into four horizontal strips all scrolling in different directions and at different speeds:






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.

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.

  • Recently Browsing   0 members

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