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
Friends, I am using the Pathfinder behavior, but it is getting very slow, crashing the game. Does anyone know if I did something wrong?
If I put more monster hardly move.
Might want to read over the behaviors documentation a bit. In particular the part about the map being square. Also its not meant to be ran all the time. Its more suited to a turn based setting.
Develop games in your browser. Powerful, performant & highly capable.
I found that if you need continuous pathfinding (to a moving target, for example) it is better to create your own fake pathfinding method.
you did the mistake I did before, that you recalculating the path every x seconds... I have adjusted mine to only recalculate, when something hits a new obstacle... this increases the performance a lot:
Thank you, I will implement your ideas.
if you like to have a look into my project, here is the current status:
I did not find link to download the Timer behavior, only for the plugin. Do you know where I can?
oh sorry, the timer has no functionality yet :)
The Plugin is located here:
I tried to put the re-calculation of the pathfinder in the collision, but not much has changed.
which browser are you using?
For me, it works best with Chrome. I had a lot of problems with IE and Firefox using Pathfinder
download again? Activate the event of a collision with the object "obstaculo1," there is horrible ... ^ _ ^ x