+ 2

How to create an infinite wave spawning sytem?

I'm creating a simple 2D game as a project, and I'm wondering on how this could be done using JavaScript.

29th Jul 2017, 2:06 AM
Aaron Quiat
Aaron Quiat - avatar
2 Antworten
+ 3
Hmmm I will try to make one, I have an idea
29th Jul 2017, 2:08 AM
Andrés04_ve
Andrés04_ve - avatar
+ 2
In general, you would have a variable to store the current wave, and then generate a number of enemies based on the current wave. You can then increment the current wave based on time or objective goals.
29th Jul 2017, 2:58 AM
Keto Z
Keto Z - avatar