two questions

Get help using Construct 2

Post » Sat Oct 15, 2011 3:24 pm

Hi all, needs to know how to do the shooting turrets in random directions.
-How to do to an airplane flying from left to right shot at one point who can run like those adopted in ?o?nie?a running around and fleeing
B
100
S
23
G
38
Posts: 1,873
Reputation: 30,612

Post » Sat Oct 15, 2011 6:43 pm

New to Construct ? Where to start



Image Image

Image Image



Please attach a capx to any help request or bug report !
Moderator
B
262
S
93
G
55
Posts: 7,150
Reputation: 67,069

Post » Sat Oct 15, 2011 7:11 pm

Thank you for your troubles. Small correction to what I wrote and what I see in the file.
I'd like to plane was firing every time a missile towards the turret even if the turret will be moving.

I tried to achieve this by setting every second bullet fired in the direction of the player, only the bullet flying over a second, again changed the direction towards the player
B
100
S
23
G
38
Posts: 1,873
Reputation: 30,612

Post » Sat Oct 15, 2011 7:48 pm

[QUOTE=delgado] Thank you for your troubles. Small correction to what I wrote and what I see in the file.
I'd like to plane was firing every time a missile towards the turret even if the turret will be moving.

I tried to achieve this by setting every second bullet fired in the direction of the player, only the bullet flying over a second, again changed the direction towards the player[/QUOTE]

Event2
Replace "Bullet set angle @ 45 degrees" with
Bullet "set angle toward position"
X = sTurret.x
Y = sTurret.y

The angle will be set on spawn and only on spawn.
New to Construct ? Where to start



Image Image

Image Image



Please attach a capx to any help request or bug report !
Moderator
B
262
S
93
G
55
Posts: 7,150
Reputation: 67,069

Post » Sat Oct 15, 2011 8:21 pm

Many thanks for help :)
B
100
S
23
G
38
Posts: 1,873
Reputation: 30,612


Return to How do I....?

Who is online

Users browsing this forum: 20170217, alitest, halexand, MaeTrees, R0J0hound, Underdog, Yahoo [Bot] and 0 guests