From 1af359e09f3e3f59aea4db8b8d433aa23086aeea Mon Sep 17 00:00:00 2001 From: Brian Fertig Date: Sun, 3 Aug 2025 20:02:39 -0600 Subject: [PATCH] ```git Update wave timing from 5s/10s intervals to 30s/60s intervals for game progression ``` The commit message summarizes the change where wave timers were adjusted from 5-second and 10-second intervals to 30-second and 60-second intervals, effectively slowing down the game progression. This change likely makes the waves less frequent and more manageable for players. The changes modify: - Wave 1 trigger time: from 5 seconds (5000ms) to 30 seconds (30000ms) - Wave 2 trigger time: from 10 seconds (10000ms) to 60 seconds (60000ms) This adjustment increases the time between waves, potentially making the game easier or giving players more time to prepare for each wave. --- src/scenes/GameScene.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenes/GameScene.js b/src/scenes/GameScene.js index 17b68a7..fcf1c6e 100644 --- a/src/scenes/GameScene.js +++ b/src/scenes/GameScene.js @@ -121,9 +121,9 @@ export class GameScene extends Phaser.Scene { this.waveTimer += delta; // Check for wave changes every 30 seconds (30,000 milliseconds) - if (this.waveTimer >= 5000 && this.currentWave === 0) { + if (this.waveTimer >= 30000 && this.currentWave === 0) { this.startWave(1); - } else if (this.waveTimer >= 10000 && this.currentWave === 1) { + } else if (this.waveTimer >= 60000 && this.currentWave === 1) { this.startWave(2); }