Hi PixelRebirth, can you explain me how you programmed?
which means "Personaje move = -1, 0, 1, 2 or 3"
thanks again
The instance variable "move" defines in which direction the player sprite moves. A value of -1 means that there is no movement. 0 - 3 stand for the four directions you can move in. Multiplied by 90 it gets you a corresponding angle (0*90=0,1*90=90,2*90=180,3*90=270) which you then can use with the "Move at angle" action of the sprite.