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 and more! Update to version 1.4: - Fixed a bug, where you could scroll, even if the game was paused - Cleaned up the code and added two new options for customization Feel free to DM me, if you dont know how something works! ;) |
Tags: | layer 2 lorom sa-1 scroll |
Comments: | 11 (jump to comments) |
Rating: |
Download
1.88 KiB | 386 downloads
Comments (11)
• Lunar Magic 3.11
• SA-1 Pack v1.32
• UberASM Tool 1.4
• Snes9x v1.60
Works as intended, so, update accepted. However, I'd recommend being very careful when using the faster speed type, as it can be very easy to make the fast scrolling cause Mario to clip into objects and die. When set too fast, there can even be issues with object/layer graphics becoming garbled. Not a cause for rejection since it's a result of how SMW uploads tiles, but just something to be aware of.
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 ;)