How do I pathfind every tick

Get help using Construct 2

Post » Fri Mar 28, 2014 5:22 am

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?
B
2
Posts: 3
Reputation: 156

Post » Fri Mar 28, 2014 7:42 am

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.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, R0J0hound and 7 guests