How do I Set a Bullet angle to an Object?

Get help using Construct 2

Post » Tue Feb 16, 2016 12:02 am

Sorry I know this question is pretty simple but I can't figure it out. I want my game character to automatically aim and fire a bullet at enemies. What would I set the angle of motion to? Also, the enemy is not moving.
B
37
S
14
G
3
Posts: 263
Reputation: 4,270

Post » Tue Feb 16, 2016 3:12 am

You can use turret behavior so your character will automatic aim and shoot enemy you can see that example in the construct 2 tutorial named turret defense you can access it by going File->new->and scroll down until you see Template: Turret Defense that have the mechanic you are looking for Idk if it not help pls msg me thx
B
4
Posts: 4
Reputation: 208

Post » Tue Feb 16, 2016 3:49 am

@HZGaming you can also try setting your character's angle to the enemy while firing.

Try this:

----> Set angle to "angle(Player.X, Player.Y, Enemy.X, Enemy.Y)"
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,111
Reputation: 59,145


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, aldi45mts and 11 guests