first step in simplification: remove the concept of room in the front end
This commit is contained in:
parent
8bd4e81f48
commit
ee4a59578a
5 changed files with 27 additions and 48 deletions
|
@ -1,16 +1,16 @@
|
|||
import 'phaser';
|
||||
import GameConfig = Phaser.Types.Core.GameConfig;
|
||||
import {gameManager, GameManager} from "./Phaser/Game/GameManager";
|
||||
import {DEBUG_MODE, RESOLUTION} from "./Enum/EnvironmentVariable";
|
||||
import {cypressAsserter} from "./Cypress/CypressAsserter";
|
||||
import {LogincScene} from "./Phaser/Login/LogincScene";
|
||||
import {GameScene} from "./Phaser/Game/GameScene";
|
||||
|
||||
const config: GameConfig = {
|
||||
title: "Office game",
|
||||
width: window.innerWidth / RESOLUTION,
|
||||
height: window.innerHeight / RESOLUTION,
|
||||
parent: "game",
|
||||
scene: [LogincScene, ...gameManager.GameScenes as any],
|
||||
scene: [LogincScene, GameScene],
|
||||
zoom: RESOLUTION,
|
||||
physics: {
|
||||
default: "arcade",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue