Language…
18 users online:  BeeKaay,  Blaagon, ForthRightMC, Golden Yoshi, Gorry, Green, JezJitzu, JPhanto, mathew, Maw, Metal-Yoshi94, OrangeBronzeDaisy, PuffleDreemurr, Ray Hamilton, ShoopDaWhoop, Skystarmania, Super Nikuworld, vktr - Guests: 270 - Bots: 434
Users: 64,795 (2,370 active)
Latest user: mathew

Custom Layer 2 / 3 scrolling

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