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
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

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
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sat Oct 15, 2011 8:21 pm

Many thanks for help :)
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, randomly, spcsmrf and 18 guests