Most of my games have been action games with linear levels, so I've never had to deal with generating content on the fly before. The game I am currently working on is an arcade-style game with waves enemies being generated that increase in difficulty over time.
So TLDR: what methods do you like for generating waves of enemies?
Because the simplest version would be just a timer that runs out and creates random numbers of random enemies, and this timer becomes shorter. But that's dumb and wouldn't feel fun.
The two systems I've come up with are like this:
- The system runs on a recurring timer. When spawning enemies, it has a "currency" that the system can use to "purchase" enemies. It tries purchasing harder enemies first and creates a list of enemies until it has run out of currency. It then spawns the group.The amount of currency it has to spend on enemies increases with time, allowing for higher level enemies and more small enemies to spawn each time.
- OR a system with pre-made patterns of enemies, so each group can be tailored to be fun and challenging in its own way. Each pre-made set of enemies has ways it can scale in difficulty over time.
Honestly, both of these seem obtuse. I'm not sure what to do because I've never designed a system like this. SO. Let me know what tips and tricks you use in your own games!