I'm creating a two stick shoot em up where there are no levels as such but a continuous stream of enemies to kill. In this type of game how do you control the release of attack waves over time?
I have an idea that I can store a list / array of times that a certain wave is triggered but I am stumped on the best way to actually achieve it.
For example if I check the array and a trigger has been reached (say 5 secs) and that triggers 50 of enemy01 to spawn what is the best way to manage that. Using something like a switch seems like it's going to get huge especially if there are 100 waves (for example).
Any ideas?