Hi!
I try to figure out how to move a 2d player sprite forward in just one step each time the forward key is pressed.
The player needs to press the forward key each time when moving the player sprite.
Every time it moves forward, it moves for example 60 pixels at a time.
Then you need to press the key again to move to the next step. So the idea is to move the sprite step by step.
Someone who knows a solution for this?