Banner
Views: 853,134,417
Time:
15 users online: Alex_X8,  BTD6_maker, Connnnair, Dispace, Green Jerry, Jazzman287, kamekku14,  Lazy, Leozoppi,  Major Flare, MrMartley64, Neexy, RetroJunky.T, Slash Chen, xfix - Guests: 37 - Bots: 56 Users: 47,052 (2,512 active)
Latest: Samppa90
Tip: Avoid blind jumps. If the player has to jump down a random hole to proceed with no indication at all that they can go down there, you've done something wrong!Not logged in.
Custom Layer 2 / 3 scrolling
Forum Index - SMW Hacking - SMW Hacking Help - Custom Layer 2 / 3 scrolling
Pages: « 1 »
Hello, is there a way to customize scrolling speed of Layer 2 or 3? And no, I don't mean that where you can set "H: Variable, V: Variable".


You can do it via ASM. Set the scroll speed in LM to "none", then write code to manually update $1E/$20 and $22/$24 based on your preferred logic. For making it scroll relative to the level, just take the Layer 1 position ($1A/$1C), multiply it by the rate you want the other layer to scroll, and write the result to its position.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
what are the addresses
Like Thomas said, they're $1E/$1F and $22/$23. Search the RAM Map for terms like "layer 2 x position".

--------------------


 
oh ok ty
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - Custom Layer 2 / 3 scrolling

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy