Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Scrolling platformer bug
- AGRODIN
- Scratcher
5 posts
Scrolling platformer bug
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
- Scratcher
100+ posts
Scrolling platformer bug
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.
Pokémon is the best lolz
“No matter what anybody tells you, words and ideas can change the world.” —Dead Poets Society
we need better lists!!!!
delete item (1) of [list v]
reverse item order of [list v]
delete last item of [list v]
- FoxCodezStuff
- Scratcher
100+ posts
Scrolling platformer bug
boost
Pokémon is the best lolz
“No matter what anybody tells you, words and ideas can change the world.” —Dead Poets Society
we need better lists!!!!
delete item (1) of [list v]
reverse item order of [list v]
delete last item of [list v]
- TheBlackMenace
- Scratcher
2 posts
Scrolling platformer bug
There's a bug in my platformer where nothing happens because of the y velocity. Anyone know how to fix it?
- Discussion Forums
- » Help with Scripts
- » Scrolling platformer bug