Whats the correct method to navigate through a set of images in an anim frame.
Currently I use both keyhit() and KeyDown(), keyhit() to change what frame I'm on in an anim image and keydown() to move the player.
What I would like to know is if I move the player left and right or up and down, what is the correct way of changing the frame to correspond with the direction?
Thx for your help.
:)
Currently I use both keyhit() and KeyDown(), keyhit() to change what frame I'm on in an anim image and keydown() to move the player.
What I would like to know is if I move the player left and right or up and down, what is the correct way of changing the frame to correspond with the direction?
Thx for your help.
:)