Merge splash and start screen in to menu screen

This commit is contained in:
Peter Stockings
2026-01-04 18:53:57 +11:00
parent 83b7f35e57
commit 64994887dc
6 changed files with 259 additions and 103 deletions

View File

@@ -20,7 +20,6 @@ export class GameScene extends Phaser.Scene {
private playerId!: EntityId;
private floorIndex = 1;
private gameState: "playing" | "player-turn" | "enemy-turn" = "player-turn";
private runState: RunState = {
stats: { ...GAME_CONFIG.player.initialStats },
@@ -52,6 +51,7 @@ export class GameScene extends Phaser.Scene {
// Camera
this.cameras.main.setZoom(GAME_CONFIG.rendering.cameraZoom);
this.cameras.main.fadeIn(1000, 0, 0, 0);
// Initialize Sub-systems
this.dungeonRenderer = new DungeonRenderer(this);