How do I use pathfinding and turret behavior ?

Get help using Construct 2

Post » Tue May 31, 2016 3:28 pm

Hi,
In my game, soldiers shoot to towers, and i use turret behavior for soldier, it work but

look to my capx:

http://s000.tinyupload.com/index.php?fi ... 3971845097

soldier when On shoot, shoot to tower again and again and not move along very well.

i want to , soldier shoot one or few bullet and then move along path, for each soldier.
is there any idea?
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Tue May 31, 2016 6:36 pm

up
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Wed Jun 01, 2016 6:14 am

Maybe the easiest way is how it's done in the RTS example. Basically have 2 objects per soldier, one for the RTS movement and one for the turret behavior. Body moves along path, turret shoots at targets. Use the Pin behavior to make sure Turret sticks to Body.
B
51
S
24
G
18
Posts: 293
Reputation: 13,061

Post » Wed Jun 01, 2016 6:56 am

Thank you.
B
10
S
3
Posts: 180
Reputation: 1,212


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, Bootfit, Exabot [Bot], Google [Bot], Huemerson, unicornspitfire, Yahoo [Bot] and 3 guests