N
nedius
Guest
Hi there,
I can find plenty of tutorials for how to make an enemy shoot if it facing left or right, or to shoot towards the player.
However, I'm making an R-Type style space shooter, and want an enemy to shoot in the direction it is facing at the time.
I only have Lite, so am using a rotated sprite for a laser beam. I can get it to shoot in the direction of the player, but one sort of enemy I want will follow a curving path, and shoot in the direction the sprite is facing as it travels along that curved path. It will drop down from the top of the screen, then curve round to the left of screen. So, initially, it will shoot downwards, then shoot at an angle, then eventually to the left. Aaaaand I want there to be more than one on the screen... 4 at a time, in fact, at least. I think that means I'll need four different version of the same enemy?
However, I'm not really sure where to begin... Please help!!
Thanks!
I can find plenty of tutorials for how to make an enemy shoot if it facing left or right, or to shoot towards the player.
However, I'm making an R-Type style space shooter, and want an enemy to shoot in the direction it is facing at the time.
I only have Lite, so am using a rotated sprite for a laser beam. I can get it to shoot in the direction of the player, but one sort of enemy I want will follow a curving path, and shoot in the direction the sprite is facing as it travels along that curved path. It will drop down from the top of the screen, then curve round to the left of screen. So, initially, it will shoot downwards, then shoot at an angle, then eventually to the left. Aaaaand I want there to be more than one on the screen... 4 at a time, in fact, at least. I think that means I'll need four different version of the same enemy?
However, I'm not really sure where to begin... Please help!!
Thanks!