Name: | Layer 2 Scroll on button press |
Author: | badummzi |
Added: | |
Version History: | View |
Type: | Level |
Includes GFX: | No |
Includes Hijack: | No |
Featured: | No |
Description: | This ASM makes Layer 2 Scroll, when the player presses a certain button. It includes the option to scroll up and down, and the option to scroll left and right. It's highly customizable. You can change the speed, the positions, when layer 2 should stop and the buttons, that make layer 2 scroll. Edit: See the readme for the version history If you don't know, how something works, dm me! ;) |
Tags: | code layer 2 lorom sa-1 |
Comments: | 6 (jump to comments) |
Rating: |
Download
4.17 KiB | 143 downloads
Comments (6)
Thanks for fixing the bugs!
That was a fast update!... maybe too fast, since some stuff was missing or didn't work (the check for $FF was missing with the normal SpeedType, setting $FF to SpeedUp with SpeedType = $00 made the layer not move in both directions). I fixed it for you, and optimized the code so that the checks for speed/speedtype are made at compile time (saves space and cycles). Also made $FF the only value that makes the layer not move, since with $00 you can get a speed not obtainable with other values.
I'll update this file today, to add in the options you suggested ;)
There are two small things that you could add if you wanted: make so that speed 0 makes the layer 2 not scroll in the relative direction, and add an option to stop the horizontal layer 1 scroll when used in a vertical level.
Im glad, that you guys appreciate my work ;)