A more dynamic hitbox

Have a thought on how NESmaker can be improved? We are a small team with limited means, but we'd love to hear your ideas!
Post Reply
User avatar
Dirk
Posts: 163
Joined: Fri Mar 09, 2018 5:30 am

A more dynamic hitbox

Post by Dirk » Wed Oct 17, 2018 12:49 am

At the moment, at least to my knowledge, you can't resize the hitbox.
1) This a problem if you for example want to make a character that might change his size like small Mario and big Mario. The smaller Mario can run through 1 tile high tunnels, while the big Mario can't.
You might want (like I do) make your character able to crouch and get to areas this way.
2) Theres also another problem... my character is 3 sprites wide. His hitbox overlays sprite 2 and 3. If he faces the other direction the hitbox is not mirrored, so instead of sprite 1 and 2, sprite 2 and 3 are still being covered by the hitbox. If you walk against a left wall from the right his face will be in there. The only "solution" now is to make the hitbox smaller and/or symmetrical.
3) Another problem... my character jumps, and where does the hitbox go now? My player is a dog and when he jumps his tail goes down, basically now the hitbox covers air and a bit of his legs. I want to move it up when he jumps so his legs are covered when he jumps.
forum_dynamic_hitbox_01.png
forum_dynamic_hitbox_01.png (25.69 KiB) Viewed 450 times
Post Reply