import { MenuScene } from './scenes/MenuScene.js'; import { Gulch } from './scenes/gulch.js'; import { NNDungeon } from './scenes/NNDungeon.js'; import { GlobalState } from './globalState.js'; const config = { type: Phaser.AUTO, scale: { mode: Phaser.Scale.EXPAND, width: 1600, height: 900, }, physics: { default: 'arcade', arcade: { gravity: { x: 0, y: 0 }, debug: false } }, scene: [ MenuScene, Gulch, NNDungeon ] }; const game = new Phaser.Game(config); game.globalState = new GlobalState(); // game.playerData = { // score: 0, // maxHearts: 3, // startGulchX: 950, // startGulchY: 4250, // }