Make enemy spawn point that spawn more after time
Enemy Spawn Point with increase over time (of the number of enemies spawning).
To modify the rate of spawn, or the rate of increase, modify the values of the global variables.
Develop games in your browser. Powerful, performant & highly capable.
Try it again it should be ok now.