• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Enemy bullets

K

kmce

Guest
So I was wanting to make an enemy shoot at my player, and the only way i found to do this makes the bullets basically act as a homing missile. So I was wondering, is it possible to have an enemy sprite with separate arms holding a gun, or just a gun, that would follow the player(not actually moving from its position, just rotating to face towards the player, and have the bullets spawn on the gun end and fire towards the player
 

TheouAegis

Member
If you don't want the bullets to home in on the player, then only set their direction and speed at the time of their creation. Do not include anything in the step event of the bullet.
 
Top