Here is a link to my game:
This is my problem:
- Player runs into a wall
- I continue to hold the button that makes them push up against the wall
- Player jumps, with me still holding the sideways movement button
- I release sideways movement button just after clearing the wall and landing on top of the next level
- Even though I am not pressing ANY buttons, the player still continues to move sideways until almost 32 pixels (1 block) later.
It almost seems like the player’s friction is just turned completely off after this happens, and I have no idea why. Any help or insight would be greatly appreciated!