Skip to main content


fun bug in kitsune tails today. sometimes people would clip through moving platforms that were going up and fall down under them. no idea why it was happening, virtually impossible to replicate

until i stepped through footage of it happening with an upwards crusher and i noticed the character was not stuck to the crusher but hovering slightly above it right before the clip. so clearly, they were jumping

i eventually realized that the collision checks if there's a collision with the top or bottom of your vertical collision box, and then pushes you up or down

but it also checks (for safety!) that you're moving up or downwards, so if the bottom half of your collision box clips a corner and you're jumping up, it doesn't suck you down onto the tile

this works great! except when tiles move. if a crusher moves up faster than the player, that check skips the collision, which puts you into solid geometry and spits you out the other side

fix was to also check if the layer is moving up or down, not just the player

in reply to Eniko Fox

@Eniko Fox It's funny how bugs like that are obvious when you understand them, but will make you think you're going absolutely bananas before that.
in reply to Eniko Fox

anyway never put moving platforms in your game. or slopes
in reply to Eniko Fox

Even when you simulate all of the physics perfectly, it's never what the actual players expect, so you end up having to hack physics in a bunch of weird ways (and then hacking in extra to deal with unforseen side effects) just to get things to work vaguely like what players expect would just happen automatically.

Moving platforms are a nightmare.

in reply to Eniko Fox

I've actually somehow never had a problem with slopes thanks to some guide I read yeeeeeeaaaaaaaars ago, but MOVING PLATFORMS ARE SENT STRAIGHT FROM HELL, BY THE DEVIL, TO TOREMENT MANKIND
in reply to Eniko Fox

Have you ever heard of or seen the Super Mario World romhack "Super Slope Muncher" (or it's sequel "Ultra Slope Muncher")? lmao
in reply to Eniko Fox

Ultra Slope Muncher is a real trip, lol (I wouldn't recommend playing it unless you like SMW kaizo and pain lol)
in reply to Eniko Fox

Look I think giving the player any direct control of a character's movement is a recipe for disaster, so no argument from me!
in reply to Eniko Fox

As demonstrated by Last of Us 2 where we just 10 minutes ago accidentally jumped into a step and ended under San Francisco...

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.

โ‡ง