Merge splash and start screen in to menu screen
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user