(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-17-24 06:06 PM
0 users currently in SMW Hacking.
Acmlm's Board - I3 Archive - SMW Hacking - How possible is collision tweaking? New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Glyphodon



 





Since: 11-18-05

Last post: 6369 days
Last view: 6350 days
Posted on 11-16-06 01:10 PM Link | Quote
Okay, so, there's the layer 1 graphic map, and there's the collision map. This collision map handles whether Mario is standing or not while the graphic map shows you what it is he's standing on, basically.

If the two could be separated... cool stuff could happen, right? Pseudo3D effects could be done by automatically compensating for tilted graphics or Layer 1 could use an entirely different graphic effect entirely while keeping the walls and floor intact gameplay-wise (Reznor does this with its bridge, I think).

So... how easy is what I'm talking about here? If anybody can tell me more about the way SMW handles collisions, that would be great.
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6329 days
Last view: 6328 days
Posted on 11-16-06 02:06 PM Link | Quote
it woudl be cool, but you'd need cartridge RAM to do most likely. See, SMW uses the layer 1 tilemap as botha collision and GFX tilemap, the GFX tilemap used in conjunction with the MAP16 data tables IIRC. And I believe that the platforms the reznor sit on are sprites, and the sprite move in tune with the Mode7 background layer. So, to searate the maps woudl require extra RAM, a repointing of all the pointers in the layer-related GFX routines, and the load-level routine hacked to copy all the data from the gameplay tilemap to the graphical tilemap after the load is finished, and just before the first draw of the level occurs. Due to the way SMW handles GFZX and collision, it's not as hard as it sounds, I should think.
Glyphodon



 





Since: 11-18-05

Last post: 6369 days
Last view: 6350 days
Posted on 11-16-06 02:16 PM Link | Quote
...well, crap. Because various tricks allow the game to think the ground is where it's not, I was under the impression they were stored separately.

I wonder still, though, about the pseudo3D effect. Is there a way to make the game think Layer 1, collision-wise, is in a slightly different position than it is, and draw all sprites slightly above or below the ground?
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6329 days
Last view: 6329 days
Posted on 11-16-06 10:13 PM Link | Quote
The game seems to have separate scroll position variables for the graphics and collision map. If you move really really fast or modify them in RAM, the two can get out of sync, so you're seeing screen 2 but colliding with screen 4.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - SMW Hacking - How possible is collision tweaking? |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.011 seconds; used 362.39 kB (max 431.38 kB)