Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hello All, thank you for looking
I'm using the Pathfinding command to move an enemy around the screen. How do I determine the direction it's moving so I can apply walking animations, etc?
I found a solution. If I give the enemy an 8 direction Movement behavior (or Platform) then I can compare its MovingAngle in System and set the animations that way.
Develop games in your browser. Powerful, performant & highly capable.
There's a couple of ways. Off the top of my head, you can use the sprite->angle property to tell which direction the sprite is facing and do a an event to check if the sprite has reached its destionation yet.