cannon, like in a 'tower defense'

Get help using Construct 2

Post » Tue Feb 11, 2014 12:49 am

Hello,
I'm tryna make a cannon, like a 'tower defense' game, but I can not make the bullet move in the parable following the target. Anyone can help?

bugged capx:
https://dl.dropboxusercontent.com/u/2064178/cannon.capx

example =)


tnks
B
25
S
4
G
2
Posts: 99
Reputation: 2,498

Post » Tue Feb 11, 2014 1:31 am

there is a behaivor called "turret" it may help you ;)
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Tue Feb 11, 2014 1:48 am

yes, i know. But don't solve the parable problem. I think I should do in applying physical bullet. But I'm not getting, so I asked for help =)
B
25
S
4
G
2
Posts: 99
Reputation: 2,498

Post » Tue Feb 11, 2014 8:12 pm

nobody ? =/
B
25
S
4
G
2
Posts: 99
Reputation: 2,498

Post » Tue Feb 11, 2014 9:13 pm

There is a predictive aim if that is what you are asking for. I'm not entirely sure what you are asking but if you are asking how to make the cannon fire the cannonball in the direction the target would be in a matter of seconds I believe under behaviors there is predictive aiming.
B
6
S
2
Posts: 19
Reputation: 547

Post » Tue Feb 11, 2014 9:42 pm

guys, I can use behavior 'turret' perfectly. My problem is unable to make the bullet train a parable =/

capx
B
25
S
4
G
2
Posts: 99
Reputation: 2,498

Post » Tue Feb 11, 2014 10:05 pm

He wants an arc to the bullet, not a straight line shot as the turret does. You should look into physics objects or search for physics + bullet + arc on the forums here as I believe there was a thread on this a while back.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603

Post » Tue Feb 11, 2014 11:59 pm

True, I was not making the correct search. Thanks all =)

Arch bullet:
http://www.scirra.com/forum/arcing-projectile_topic54153.html
B
25
S
4
G
2
Posts: 99
Reputation: 2,498


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests