I'm having a bit of trouble on how to add the following to my event sheet:
When the right arrow key is pressed
check if the area 32 pixels to the right of the player is empty and doesn't have a 32x32 sprite from the 'NoGo' family
> if that area is clear then move the player (32x32 sprite) 32 pixels to the right.
basically everything is top-down 32x32 px and the player 'jump-moves' in 32 px increments from square to square but i don't want him moving to a square that has something there. I did something similar in GameMaker (
) and I'm trying to do the same thing here.
Any help would be appreciated.