Day 24:
Today I improved the wave system! \o/ So far it was only possible to create waves by ONE enemy and their amount. So for the new system I created some more enemy prototypes for testing purposes, which are currently just copies from the original one.
Then I thought which will be the best way to handle the new waves, so I also thought about a new data structure for it, so I came up with something pretty neat.
Now it's possible to create custom wave lengths with different enemies & different amounts:
Also in the data structure I reserved a part for a time which will count down for the enemies to begin spawning.
Last but not least I also created a function to check for the integrity of the data structure, which can be used to external file reading custom waves at some point later, maybe.
Day 25 ToDo:
Improve wave-system #2
- handle more waves
- implement time value
- call waves early