Language…
7 users online: autisticsceptile1993, fanfan21, Fostelif,  Hazel, ocked, Shiki_Makiro, The Silent Hellhound's Past - Guests: 916 - Bots: 135
Users: 70,459 (2,475 active)
Latest user: AparejadoDavid

Layer 2 Scroll on button press

UberASM Repository → Layer 2 Scroll on button press

This file is obsolete. The latest version is Layer 2 Scroll on Button Press. For other versions, check the version history.

Submission Details

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:
0.0 (0 ratings)
No rating
Download 4.17 KiB | 143 downloads

Screenshots

Comments (6)

badummzi Author Link
Ok, thanks for moderating it again @KKevinM ! :D
Thanks for fixing the bugs!
 Kevin Link
Tested on: LM 3.03, UberASMTool 1.4, SA-1 1.31.
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.
badummzi Author From older version: Layer 2 Scroll on button press Link
Thanks for moderating @KKevinM ! :D

I'll update this file today, to add in the options you suggested ;)
 Kevin From older version: Layer 2 Scroll on button press Link
Tested with: LM 3.03, UberASMTool 1.4, SA-1 1.31. It works nicely, so accepted.
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.
badummzi Author From older version: Layer 2 Scroll on button press Link
Thanks for the nice words @Darkbloom ! :D
Im glad, that you guys appreciate my work ;)
Vivian Darkbloom From older version: Layer 2 Scroll on button press Link
I'm really glad this exists! I had an idea to do something like this but you've made a much better version, so thank you :)