I'm trying to get a handle on how collision and interaction works in SMW. I've looked around the forums, played with tools, etc. But I was wondering if there's some explanation somewhere to help get a high-level understanding.
So far, I know that Player-block interaction and player-sprite interaction work differently, and there's some subtleties with Layer 1/2 vs layer 3. I keep seeing references to "clipping". I've tried to look at the disassembly. But I was hoping for some pointers to a guide or document or explanation for how it works from a high level.
Some stuff that I have looked at:
- Mario Interaction Points document - https://www.smwcentral.net/?p=section&a=details&id=13101
- Interaction Editor - https://www.smwcentral.net/?p=section&a=details&id=15234
- Questions about interactions post - https://www.smwcentral.net/?p=viewthread&t=94617&page=1&pid=1475961#p1475961
- smw-tas tools with hitbox visualization - https://github.com/brunovalads/smw-stuff/blob/master/SMW-BizHawk.lua
I have some sense, but I feel like I'm not quite grasping how it works.
In a perfect world, I'd find something like this one for Sonic: http://info.sonicretro.org/Sonic_Physics_Guide. But any pointers would be great.