import Phaser from 'phaser'; import { BootScene } from './scenes/BootScene.js'; import { GameScene } from './scenes/GameScene.js'; const config: Phaser.Types.Core.GameConfig = { type: Phaser.AUTO, parent: 'game', width: window.innerWidth, height: window.innerHeight, backgroundColor: '#1a1a2e', pixelArt: true, scale: { mode: Phaser.Scale.RESIZE, autoCenter: Phaser.Scale.CENTER_BOTH, }, scene: [BootScene, GameScene], }; new Phaser.Game(config);