import Phaser from 'phaser'; import ShipDeckScene from './scenes/ShipDeckScene.js'; import MapScene from './scenes/MapScene.js'; import TransitionScene from './scenes/TransitionScene.js'; import HuntingScene from './scenes/HuntingScene.js'; const config = { type: Phaser.AUTO, width: 800, height: 600, parent: 'game-container', backgroundColor: '#2d5f8e', scene: [ShipDeckScene, MapScene, TransitionScene, HuntingScene], physics: { default: 'arcade', arcade: { gravity: { y: 0 }, debug: false } }, scale: { mode: Phaser.Scale.FIT, autoCenter: Phaser.Scale.CENTER_BOTH } }; const game = new Phaser.Game(config);