[QUOTE=zaimoku01] Hi Everyone, I'm trying to put together a simple "stay alive as long as possible" style game.
I've made a set of enemies spawn outside the layout and move across the screen, the players goal is to avoid the enemies. My problem I have is I have no idea how to make the enemies go from spawning a random amount every second to after 20/30 seconds change this to spawning a random amount every 0.5 seconds.
I'd then like to be able to keep speeding the spawn rates up every 20/30 seconds or so.
Is something like this possible to do? Here's a screenshot of what i've put together, (probably completely wrong).
Any tips to make this happen would be great!
A good way to do it would be to firstly have two global variables;
So, every "interval" seconds, you decrease "respawnRate", which stores your enemy spawn rate.
Can you apply something like that to your situation?