Why does my character jump really high?

Whenever my character jumps, and touches a wall, it jumps really high, and even off screen. In my first game, A Platformer Game, I never had this problem. I do not understand why this is happening in my second game. I have checked the behaviors on both the character and the blocks, and they are the exact same. It only happens when only when touching the side of a block, and not touching the top of a block. Can anyone help?

3 Likes

Have you checked the physics of the player object? This could also be because of the game’s gravity.

Summary

also welcome to Flowlab and its forums fellow Halo fan!

2 Likes

Try changing the collision to only “Bottom”
That should help.

3 Likes

I did check the physics, and it is the same as the first game, but still thank you for the advice!

1 Like

That fixed the problem. Thank you!

3 Likes

Ok, wait I went back and started the game and was looking for any other bugs, and near the end I found that I would still jump extremely high, even though I wasn’t touching the side of any blocks.

3 Likes

Post a link to your game, and it will be a lot easier to help you.

3 Likes

Check the density of your sprite.

If you don’t want to mess with that change the 12 to a small number, perhaps 5 or 6.

2 Likes

Link

2 Likes

Thank you for the suggestion.

2 Likes

And thank YOU for being such a great client!

1 Like