Wave settings

This commit is contained in:
Martin 2022-12-12 14:04:37 +01:00
parent 0886d1d7e4
commit ba2a906fea
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@
"waveEnemySpawners": [ "waveEnemySpawners": [
{ {
"startDelay": 0, "startDelay": 0,
"stopDelay": 100, "stopDelay": 10000,
"cooldown": 5, "cooldown": 5,
"enemiesPerWave": 30, "enemiesPerWave": 30,
"waveLifetime": 20, "waveLifetime": 20,

View File

@ -95,7 +95,7 @@ export class Game extends Component {
this.gamePauser.resume(); this.gamePauser.resume();
// while not dead // while not dead
await delay(100000); await delay(1000000);
this.gamePauser.pause(); this.gamePauser.pause();
Game.instance = null; Game.instance = null;
return 1; return 1;