Swipe to Move on Grid.
so I have a game where you must swipe to move left, right, up, and down, which I have working perfect. My question is if anyone knows how to make it where you swipe to move but the actor will stay in the defined grid I set.
thanks
thanks
Comments
But i think the concept is the same:
.... touch Left (swip left) -> change attribute: player.pos.X = player.pos.X + Grid Size
... and so, for the remaing positions...