L
Luk
Guest
Hi, I am quite new to GM, I would like someone to help me, you see, I have managed to make my character move in a 16x16 grid, which changes the sprites according to the direction in which I move. But in addition to that I would like to implement the following validation:
-When my character is looking in one direction, and a button is in the opposite direction to the one he is looking at, my character stays in the same position but looking in the direction he presses. And if I press the same button again then my character must move because it is the direction in which he is looking.
I will be very grateful if you at least give me a hint of how to encompass that validation. Thank you very much in advance.
-When my character is looking in one direction, and a button is in the opposite direction to the one he is looking at, my character stays in the same position but looking in the direction he presses. And if I press the same button again then my character must move because it is the direction in which he is looking.
I will be very grateful if you at least give me a hint of how to encompass that validation. Thank you very much in advance.