have a few if statements that check what direction the sprite is going.
'X/Y=SP X, Y
OLDX=X
OLDY=Y
'PUT THE SPRITE MOVEING CODE HERE
IF OLDX>X THEN 'finds out if the sprite has moved left. Put animation code here
You can have multiple IF statements to check what direction the sprite is going in:
OLDX>X' left
OLDX<X' right
OLDY>Y' up
OLDY<Y' down
1そうだね プレイ済み