New demo uploaded: Parallax Demo

All aspects of programming on the Commander X16.
Post Reply
Cunnah
Posts: 14
Joined: Thu Feb 11, 2021 3:40 pm

New demo uploaded: Parallax Demo

Post 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






 
Post Reply