![]() |
Register | Login | |||||
![]() |
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
![]()
| |
1 user currently in Super Mario World hacking: ![]() |
Acmlm's Board - I2 Archive - Super Mario World hacking - 2 scrolling questions |
![]() ![]() ![]() |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Sukasa![]() Boomboom Error 349857348734534: The system experienced an error. Level: 57 ![]() Posts: 1785/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
I've looked through the SMW memory map, but I can't find the offset that controls layer 1 scrolling. Could anyone help me? I've tried one of the offsets there, but that just made mario fall through everything. I'm trying to get it where once mario touches a custom block, the screen won't scroll anymore. Sceondly, does anyone know where the layer 2 X-scroll bytes are? I want to increase layer 2 scrolling to be slightly faster than layer 1 scrolling on one level, to imitate a foreground appearance. The one that was specified in the memory map didn't work for me. ![]() |
|||
d4s![]() Panser Level: 29 ![]() Posts: 293/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
$001a is the bg1 h-scroll buffer, $001e is the same for bg2. of course, these are just the buffers that are written to the ppu regs each frame. changing these will not actually cause mario to move through the levels, or update the tilemaps. should be fine for your fast layer 2 movement, though. [edit] sorry, these are the h-scroll buffers, not the v-scroll ones, of course. typo corrected. (edited by d4s on 08-29-05 07:09 AM) |
|||
Sukasa![]() Boomboom Error 349857348734534: The system experienced an error. Level: 57 ![]() Posts: 1787/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
oh... I actually need the layer 2 h-scroll buffer, not the v-scroll buffer. Just update those, and the correponding layer will be moved when the game updates the ppu regs, right? | |||
d4s![]() Panser Level: 29 ![]() Posts: 294/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
Originally posted by Sukasa yep. but keep in mind that the game will want to write to these ones, too, so you have to disable that. |
|||
Sukasa![]() Boomboom Error 349857348734534: The system experienced an error. Level: 57 ![]() Posts: 1795/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Before or after the palasm code? It'd be nice if there was a way to add in a new table entry for layer 2 scrolling, but I'd have no way of knowing how to do that. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Super Mario World hacking - 2 scrolling questions |
![]() ![]() ![]() |