Hi, I am trying to work on a simple puzzle game. What I want is grid movement
(all my blocks are 32x32) but I want it so if you press right, you move right but
in steps of 32 until you hit a wall and then the movement ends. (same for the
other 3 directions)
So you press down and the player starts moving down in 32 pixel steps until it hits
a wall.
How can I do movement like this?
I can use gridmovement to move in 32px steps but the continuous thing until hitting
a wall. Not sure how to do it.