Name: | Layer 2 Background Auto-Scroll |
Author: | Ayami |
Added: | |
Version History: | View |
Type: | Level |
Includes GFX: | No |
Includes Hijack: | No |
Featured: | No |
Description: | A simple code to make your backgrounds use auto-scroll. Includes options to customize the direction, speed and an option to disable the scroll in No-Yoshi intros. Note that for this to work properly you need to set H-Scroll and V-Scroll to None in the level via Lunar Magic. |
Tags: | autoscroll layer 2 lorom sa-1 tilemap |
Comments: | 23 (jump to comments) |
Rating: |
Download
710 bytes | 923 downloads
Comments (23)
Go to "Change other properties dialogue" (the icon)
Check disable "No Yoshi" intro.
Tested with Asar 1.71, Lunar Magic 3.11, SA-1 1.32, Snes9x 1.59.2, UberASM Tool 1.4.
-Instead of a check only when Mario dies, made it a general check for when animations are locked.
-Added a check for the Pause flag too, fixing a bug where the background position was still scrolling while being frozen in pause.
-Added an option to disable scroll in No-Yoshi intros (activated by default, replaced old optional death animation).
Thanks to Koopster for the feedback and to lx5 for some explanations.
Thanks anyway for the heads up, will update it soon
it's #$01it's non-zero).First of all, don't insert this with Asar, it's not the case for (just for your information, UberASM Tool and Asar are different things). Use only UberASM Tool to insert this, it should work fine. If still not, make a post in a help forum giving more details about your issue.
No, this is just for backgrounds. Using it in levels with Layer 2 FG will result in garbage looping infinitely.
Well, you kinda doesn't need that since Lunar Magic already give you options to autoscroll the Layer 3, unless you want the diagonal ones, of course. Haven't tested it carefully, but changing '$1466|!addr' and '$1468|!addr' to '$0022|!dp' and '$0024|!dp' will do the trick. The problem, either way, is dealing with the status bar, which is the reason why I didn't add this as a customizable option to begin with (unless you use a patch like Nuke Status Bar, which actually removes the status bar from the Layer 3).