Scrolling platformer bug
id: 744688
category: Help with Scripts
posts: 4
AGRODIN
loading
There is a bug in my platformer game that is kind of hard to find but will occasionally cause the player to clip to the top of the platform when it runs into a wall. This typically happens when the player is actively falling and runs into a wall. Does anyone know how to fix this?
LINK: https://scratch.mit.edu/projects/975037853/
LINK: https://scratch.mit.edu/projects/975037853/
FoxCodezStuff
loading
It looks like the script is trying to go to the nearest floor because you triggered the sprite touching the wall, it thinks it touched a floor. So the sprite will attempt to find the nearest floor and fall towards it quickly.
Though, i don't know how to fix this i can boost the topic so others can see it.
Though, i don't know how to fix this i can boost the topic so others can see it.
FoxCodezStuff
loading
boost
TheBlackMenace
loading
There's a bug in my platformer where nothing happens because of the y velocity. Anyone know how to fix it?