Just a game programmer
Member
In my game a dog is following the player. Currently image_angle = direction. The dog has a four-directional sprite (dogUp, dogDown, dogLeft and dogRight). How can I change the sprite based on the direction of the dog, and how can I make it that the dog only travels left, right, up and down(i.e not diagonally). Thank you for your help!