Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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 want to enemy follow player around walls until seing the player from a distance. I give two boolen to enemy.
1- i saw you
2- i am seeing you
What i am tring to do is When a enemy saw player once and isnt seeing current moment, patchfind to player until see player again. Please Help
Ps: I am not native english speaker. Sorry for my mistakes.
Develop games in your browser. Powerful, performant & highly capable.
Use the pathfinding behaviour.
Var_ISawYou=True
Var_IAsmSeeingYou=False
then
Every X seconds find path to player.X,player.Y
On Path found - Move along path
Use the pathfinding behaviour. Var_ISawYou=True Var_IAsmSeeingYou=False then Every X seconds find path to player.X,player.Y On Path found - Move along path
Thanks for reply my friend. It does the job.