So I have this really simple game where my character jumps left and right to evade incoming objects. Only issue is when my character jumps left or right and he lands on the ground, he’s sliding like he’s on ice. How do I make him not slide when he lands?
if (jumping.up.isDown && player.body.touching.down)
{
player.setVelocityY(-675);
player.setVelocityX(200);
}