How to make enemy shoot you

Get help using Construct 2

Post » Sun Sep 30, 2012 4:06 pm

Title says it all, how can I make an enemy which van shoot me in a construct 2 project
B
4
Posts: 22
Reputation: 351

Post » Sun Sep 30, 2012 4:23 pm

Make him point towards you, then spawn a bullet object. Or are you after predictive aiming, which is a little more challenging?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun Sep 30, 2012 4:36 pm

[QUOTE=sqiddster] Make him point towards you, then spawn a bullet object. Or are you after predictive aiming, which is a little more challenging?[/QUOTE] How do I make The Bullet Fly To The Direction Of The Player?ofirofir2012-09-30 16:40:17
B
4
Posts: 22
Reputation: 351

Post » Sun Sep 30, 2012 5:02 pm

You set the ANGLE of the bullet towards the player X and Y coordinates. Then set the speed so it moves. I've made a quick CAPX to show you, it's easier that way :)

BULLET FIREvandinz2012-09-30 17:03:48
B
19
S
5
G
4
Posts: 208
Reputation: 3,960

Post » Sun Sep 30, 2012 6:00 pm

Thanks a lot!
B
4
Posts: 22
Reputation: 351

Post » Mon Oct 01, 2012 2:23 pm

For others which also read this Post!

There is a nice Tutorial on how to fire Bullets, this can be useful to let the enemys fire too.

Beginners Guide Ego Shooter

Kind Regards

MCSell ;)
B
8
S
3
G
4
Posts: 2
Reputation: 2,492

Post » Wed Mar 04, 2015 3:17 pm

How to make an enemy spawn bullet every 2 sec?
B
3
Posts: 1
Reputation: 177


Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt, Lancifer and 30 guests