How do I make a bullet's path towards my character

Get help using Construct 2

Post » Sun Sep 28, 2014 11:06 pm

I created an enemy that will spawn a bullet, but I want the bullet's path to start going towards the character. Not follow, but just make the angle of motion start to go towards the character. This is a side scroller and the enemy is flying, so it's above the character, the position of both the character and enemy will be random.
B
4
Posts: 14
Reputation: 228

Post » Sun Sep 28, 2014 11:23 pm

bullet on created set angle of motion: angle(bullet.x,bullet.y,player.x,player.y)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests