Limiting a Bullet to One Shot.
I'm having a little trouble with SPAWN and DESTROY, and think that perhaps I want to use MOVE instead?
I've got a Space Shooter, in which I want both the PLAYER and the AI to be limited to ONE bullet on the screen at a time. If the PLAYER (or the AI) shoots a bullet, it travels and bounces, with a TIMER limited lifespan.
BUT, if the PLAYER (or the AI) decides to shoot again, I want the original bullet to vanish, and the new bullet to take its place.
Would I use INTERPOLATE here, with a boolean set to flag when a bullet has been fired?
I've got a Space Shooter, in which I want both the PLAYER and the AI to be limited to ONE bullet on the screen at a time. If the PLAYER (or the AI) shoots a bullet, it travels and bounces, with a TIMER limited lifespan.
BUT, if the PLAYER (or the AI) decides to shoot again, I want the original bullet to vanish, and the new bullet to take its place.
Would I use INTERPOLATE here, with a boolean set to flag when a bullet has been fired?