AI sprites are patrolling around the area with 4 dir ways, i have 4 frames shows up, down, left and right. They have no angles. I don't know what's event to change frames according to direction...
-X = Frame Left
+X = Frame Right
-Y = Frame Up
+Y = Frame Down
For example:

I did it but it didn't work...
Would you help me?
Thanks.