So I'm a bit stuck on a game I'm making. At one part in the game I'd like to have some sort of enemy wave system (like a tower defense type of game, or beat 'm up like streets of rage). You enter an area and a certain amount of enemies need to be defeated to proceed to the next area. These enemies will be events that walk around the map in a random way.
I'm not really sure how to do this. The event enemies are no problem. But I'd like them to respawn after a set amount of time so that even when you defeat the required amount, it's possible you encounter some more while walking to the exit. I'm also not sure how to count the amount of enemies I've defeated.
I'm not really sure how to do this. The event enemies are no problem. But I'd like them to respawn after a set amount of time so that even when you defeat the required amount, it's possible you encounter some more while walking to the exit. I'm also not sure how to count the amount of enemies I've defeated.