Hello
So, what I want to achieve is to have multiple waves in my game (say 1-20), and each wave should have several sub-waves (1-10), each sub-wave should then have a unique amount (1-25) enemies that are spawned an will all be the same.
So my array might look like this:
wave1 => [
subwave1 => [
"1-boss",
"15-chickens"
],
subwave2 => [
"15-chickens",
"5-farmers",
"10-dogs"
]
]
[/code:1tfx75u4]
Plus 9 more wave arrays, and of course more subwaves also.
And the result would be:
[ul]
[li] Player indicates they're ready[/li]
[li] Current Wave is 1[/li]
[li] Loads the wave1 array[/li]
[li] Spawns subwaves (spawns 1 boss, waits, spawns 15 chickens; After waiting even longer, spawns the next subwave)[/li][/ul]
I cannot find a way to do this at all, any help at all is appreciated.
If I could spawn an object by typing it's name instead of actually selecting it from the list of sprites I've made, I wouldn't really have an issue.], but I don't think I can do that either.