
Check the attached image. When the player is jumping and moving right, he can “take a break” between two perfectly vertically stacked sprites, and therefore jump higher than intended. Is there a cure? When the “jump” key is pressed, I check if “player.body.touching.down”.