Help! (On Guns and Dynamically Loading Projectiles)
Hey,
I'm at a standstill right now. I'm trying to make an Asteroids remake (if you want to know more, I'll post it once it is in Alpha stage) and I already have a nicely-functioning spaceship-movement system; however, my weapons aren't working the way I want them to. I want them to:
-Dynamically load when spacebar is pressed
-Start at ship and fire immediately in ship's current direction
-Have more than one projectile at a time firing without a projectile reset
-Not follow the ship around if spacebar is held down
Now I'm not a total newb at flash, and I already know how to dynamically load sprites onto the stage. However, the shots always reset if I press spacebar again and follow the ship around if I hold spacebar. I want it to fire rapidly, like a machine gun, but completely ignore what the ship or the other instances of shots are currently doing and just
-start at the ship
-move in the direction the ship was facing
Can anybody help me at all?
Fusiox