Banner
Views: 853,137,025
Time:
15 users online: ageVerrly, CalHal, Dan Drigues, DeppySlide, Golden Yoshi, Infinity,  JamesD28,  Lazy, MrDeePay, PokerFace, Skye, Sokobansolver, Spookerton, Swaguy14256, Zidan3 - Guests: 50 - Bots: 61 Users: 47,053 (2,512 active)
Latest: PleaseLikeMePls
Tip: Keep in mind that the maximum size for an ExAnimation ExGFX file is 16 by 13 tiles, rather than 16 by 8 tiles like you would expect.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