16 lines
367 B
JavaScript
16 lines
367 B
JavaScript
import BootScene from './scenes/BootScene.js';
|
|
import GameScene from './scenes/GameScene.js';
|
|
import UIScene from './scenes/UIScene.js';
|
|
|
|
new Phaser.Game({
|
|
type: Phaser.AUTO,
|
|
width: 1600,
|
|
height: 900,
|
|
backgroundColor: '#1a0a2e',
|
|
scale: {
|
|
mode: Phaser.Scale.FIT,
|
|
autoCenter: Phaser.Scale.CENTER_BOTH
|
|
},
|
|
scene: [BootScene, GameScene, UIScene]
|
|
});
|