|Name:||Relative Layer 2 Vertical Rise/Fall|
|Description:||This code auto-scrolls level (or background) layer 2 up or down relative to layer 1, which makes rising and falling layer 2 sections possible without taking away vertical camera freedom.
A couple notes:
-You must set Layer 2 V-Scroll in Lunar Magic to "None", and H-Scroll preferably to "Constant".
-It must be assured that the player can never reach layer 2 scrolled past the area that has been placed in Lunar Magic, or glitchy tiles will appear. This works for the applications shown in the screenshots, as the layer 2 itself impedes the player from going further down (for the lava) or up (for the blocks). For rising layer 2, it is of interest to also account for Mario's death animation, as he falls down a fair amount when dying (the .asm file talks about this in more detail).
|Tags:||autoscroll fall layer 2 lorom rise sa-1|
|Comments:||16 (jump to comments)|
Download 1.22 KiB | 501 downloads