import { Game } from './scenes/Game.js'; import { MenuScene } from './scenes/MenuScene.js'; const config = { type: Phaser.AUTO, scale: { mode: Phaser.Scale.FIT, autoCenter: Phaser.Scale.CENTER_BOTH, width: 1280, height: 720, parent: 'game-container' }, physics: { default: 'arcade', arcade: { gravity: { y: 0 }, debug: false } }, backgroundColor: '#000000', scene: [ //MenuScene, // Intro, // Tutorial, Game ] }; const game = new Phaser.Game(config); //game.globalState = new GlobalState();