Hi im making a Top down game and i have an issue about how to set animations enemy sprites for each directions, i'm using PathFinding option i disabled the Rotate object in menu.
NB: i don't wanna activate Rotate object option.
You can use sprite.Pathfinding.MovingAngle to set the animation.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for your reply i know this method but i can't detect which angel is right up down or left and how i will create a condition about it
Angles in Construct2 are set up this way:
0 = left
90 = down
180 = right
270 = up
You shouldn't test for the exact angle, though..
Use system is withing angle, should work nicely..
Angles in Construct2 are set up this way: 0 = left 90 = down 180 = right 270 = up You shouldn't test for the exact angle, though.. Use system is withing angle, should work nicely..
I'm beginner if you don't mind can you give me an example just in case of one angle?
I had this one lying around