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.
dl.dropbox.com/u/66975768/DRMotoSerra.capx
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.
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:
Demo:
ubivis.de/td
Thank you, I will implement your ideas.
if you like to have a look into my project, here is the current status:
gogwiki.com/temp/TD.capx
Develop games in your browser. Powerful, performant & highly capable.
THANKS... ^_^X
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:
scirra.com/forum/behavior-timer_topic46403.html
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