Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Horizontal scroll: variable, Vertical scroll: none without ASM
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 5927/8210
Cool. I notice the tables only use 4 of 256 possible values, though. I suppose hacking it to be more efficient is out of the question if you want it to show up right in LM, but any idea how we might go about expanding the table and/or using the rest of the entries? That's 12 bits of per-level settings that aren't used with 252 unused entries.
ExKay
Posts: 825/1114
I love you BMF.

I really needed this address, now I can add more scrolling options.^^
BMF98567
Posts: 996/1261
There's a much simpler way to do this:

1. Go to $2D928 in the ROM.
2. Change the 00 to 02.

This will change the second "None/None" scrolling option (right below "None/Constant") to "Variable/None". It works, I use it in my own hack.

In case you want to experiment with other scrolling combinations, here's the format of the table. It starts at $2D910, and is comprised of 32 bytes. The first 16 bytes are the V-Scroll options, and the second 16 bytes are the H-Scroll options; 00=none, 01=constant, 02=variable, 03=slow (if I recall correctly, "slow" only works for V-Scroll). Fortunately, LM reads this table from the ROM, and thus you can verify your changes by simply reloading your ROM and opening the "Change Other Properties..." dialog.
ExKeeper
Posts: 409/512
I just thought about those sprites and that some of them might do stuff like that, so I tried them and eventually came up with this, but it didn't work on vertical levels, so I found another way to do it for vertical levels.
PumpkinPie
Posts: 689/1158
Interesting find...though I don't know where I'd use it !

Really, how'd you find this?
ExKay
Posts: 824/1114
BMF has some other ones in his hack, he may know it.

BTW: Fusoya used H-Scroll=Constant and V-Scroll=None.
Sukasa
Posts: 1360/1981
...Could be. Good discovery smwedit, this could really be helpful. On the topic of this, does anyone know where in the ROM the table that lists out the different scroll options is? there are a lot of unused entries there...
ExKeeper
Posts: 404/512
I think this is what FuSoYa did for his coral capers BG
HyperLamer
Posts: 5886/8210
Ooh. So maybe this isn't a glitch at all!
ExKeeper
Posts: 401/512
Here is how to make Horizontal scroll variable and vertical scroll none without ASM (it is not an option in change other properties)
(layer2 scroll 4 = sprite EA Y=3)

Horizontal level:
Put layer2 scroll 4 two tiles from the top of the screen just so it says may glitch, and set the BG scroll to Horizontal scroll: variable, Vertical scroll: variable.

Vertical level:
Put layer 2 scroll 4 three tiles from the top and two from the left, shift the BG up 7 tiles, set the BG scroll to Horizontal scroll: variable, Vertical scroll: variable.
Acmlm's Board - I2 Archive - Super Mario World hacking - Horizontal scroll: variable, Vertical scroll: none without ASM


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.010 seconds.