How do I make the bullet only hit the targeted object?

Get help using Construct 2

Post » Sun Feb 08, 2015 12:53 pm

Let's say I have this homing missile turret aiming at this sprite. Now example there are more same sprites in the way, how do I make the bullet not hit them and only hit the targeted sprite.
B
7
Posts: 23
Reputation: 321

Post » Sun Feb 08, 2015 1:52 pm

Store the UID of the target - say as an instance variable on the bullet - and when the bullet collides with a sprite you can check its UID and see if it matches the stored value.
B
55
S
28
G
18
Posts: 1,520
Reputation: 25,285


Return to How do I....?

Who is online

Users browsing this forum: alajajm, Draconiz717, Fenix18, GlassCanon1993, Google [Bot] and 5 guests