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?
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!
Try changing the collision to only “Bottom”
That should help.
I did check the physics, and it is the same as the first game, but still thank you for the advice!
That fixed the problem. Thank you!
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.
Post a link to your game, and it will be a lot easier to help you.
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.
Thank you for the suggestion.
And thank YOU for being such a great client!