Tower Defense Game

Get help using Construct 2

Post » Thu Aug 16, 2012 3:48 pm

Hi all,
I am going to make a tower defense game by Construct 2. But i have some problem. I want to ask how do i make the monster move in the path and the tower behavior. In Construct Classic, it has turret behavior and grid movement behavior to handle these thing. How about Construct 2?
Would you please give some examples or tower defense template by Construct 2 if possible?

Thanks

harry2012-08-16 15:48:47
B
3
Posts: 5
Reputation: 485

Post » Wed Sep 05, 2012 5:39 pm

I'm having the same problem, would really appreciate some help!
B
11
S
3
G
2
Posts: 32
Reputation: 2,644

Post » Wed Sep 05, 2012 6:00 pm

For the movement you can use REZ pathfinder and moveTO.
For the turret behavior you can create add a circle and when the enemy enter the area start shooting.
I started working on something like that, if I find it I'll post it here.
B
85
S
31
G
22
Posts: 384
Reputation: 18,587

Post » Wed Sep 05, 2012 7:29 pm

I'm actually guessing its all relatively simple.
Use Custom movement to give each mob a velocity, and in the path, make collisions to detect when it should turn right/left/up/down.

For a linear rotating turret, you can use lerp() and set its angle to the direction of the nearest mob to the tower with checking it with distance().Rory2012-09-05 19:29:57
B
36
S
10
G
6
Posts: 948
Reputation: 11,101


Return to How do I....?

Who is online

Users browsing this forum: Kagubro, totoe and 32 guests