Open Wohlstand opened 4 years ago
This report has inspired another idea: Multiple Hitboxes per character, both player and NPC. Besides resolving stomping "safe zone" issue, this method can be used for other purposes, like advanced NPC physics, directional shields (hello, Buzzy Helmet!), headshot detecting etc.
Yeah, I think same: while one main hitbox means a physical collision, any extra hitboxes will be affectable via game logic.
I guess, about jumping on NPCs, it works because it uses the "Easy-mode collision" call here: https://github.com/WohlSoft/smbx-experiments/blob/research/modCollision.bas#L115
Recently, LxXzit did a small research and he has found that in Vanilla SMBX 1.3, NPCs having a safe zone which allows stomp them safer in a condition to not touching a side lower than 10 pixels (I guess, it may be a different scale in dependence from every NPC).
Here is a quote of research (formatted as a bug report for SMBX 38A):
The original topic link: https://wohlsoft.ru/forum/viewtopic.php?f=64&p=19538