Clear Screen Power Up
The game I'm working on has the baddies randomly appearing on screen and if they are not destroyed in time, they disappear. My question is, I want to make a powerup which clears the screen like the ol' "smart bomb" and I want the score to reflect how many were destroyed. The problem is, I need to know how many are on the screen at one time, but the rule I used for spawning baddies has a random range value for the amount of time between each spawn, so there's no way of knowing exactly how many are on the screen at a given time. Any suggestions on setups to remedy that problem?
Answers