Page 1 of 1

New demo uploaded: Parallax Demo

Posted: Sun Mar 07, 2021 7:34 pm
by Cunnah



Parallax Demo




View File






This is an early concept based upon the ideas and code shown here https://www.8bitcoding.com/p/tiles-in-assembly-ii-line-interrupt-for.html

============================================================

The PARA.PRG is my first attempt recreating the psudo parallax seen in games from the 16bit and 8 bit era. This is all on the same layer the same as in the above mentioned blog. The difference here was to make the background reactive to the foreground movement. Although this is hardcoded to move 1 pixel per frame forward all the slower sections are all based on how fast the foreground is moving.



I'm hoping to expand upon this to also support vertical perspective tricks.

============================================================

Instructions:

copy the PARA.PRG file to your emulator location or run the x16emu from the files location.

run x16emu and type the following commands

     LOAD"PARA.PRG"

     RUN