I'm trying to make a game where the player can only move one direction at a tyme, and only when he es in collision with solid objects. I figured aout how to stop him when he collides, but how can I make the player only set a direction when he is colliding? I dont want the player to change direction in the meddle of the movement.
dropbox.com/s/qxzbrey421jmb95/Demo.capx