I am trying to create monsters that will hunt down the player. I added an event every tick that should find a path to the player, but it doesn't work. However, if I move the event to on mouse click, it works fine, but only on mouse click. Am I missing something?
Develop games in your browser. Powerful, performant & highly capable.
First the path has to be found and when found the monsters will follow the path.
This is impossible in one tick.
If instead you'd use every x seconds, so they react to player movement it could work, but it might be quite cpu intensive.