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
I am learning C2 and working on MAZE type of game. Life of me I cannot find the way to enemies chasing player. I have tried hard but sorry I do not know how to. Will someone help me. Please help
This is not for this category. Please move it to the appropriate forum.
Add Pathfinding behaviour to 'Enemy' object.
'Enemy' Find Path To (Player.X, Player.Y)
'Enemy' On Pathfinding Path Found > Move Along Path
what plinkie said will work, however i would try and set the "find path" to an "every x seconds" condition. The cpu demand might become too intensive otherwise.
What Sargas said will work, too. I will usually set it every 0.1 seconds or so to give it that fraction of time be it needs to calculate a new path it the object being chased is always moving. The pathfinding acts rather smoothly then.
Yes, good thinking!
Hey guys you are stars. Thank you so much. God bless you all. Thanks
Apart from me probably :(
And the point of bumping a 4 month old topic with this remark is?
Develop games in your browser. Powerful, performant & highly capable.
plinkie is right