I am making a Frogger style game and this is what I'm trying to achieve:
When a direction key is pressed, move the player exactly 100 pixels in that direction. But I want the player to actually move and not simply jump/teleport 100 pixels away.
I've tried several different methods but nothing seems to work. I tried using a force to move the player and then stopping the forces after the player has traveled 100 pixels. That almost works but the player always goes a little too far.
The map is designed on a grid of 100x100 pixel blocks. That's why the movement needs to be exactly 100 pixels every time.
This type of movement seems like it should be easy to achieve but I haven't had any luck...