import LoadScene from "../scenes/LoadScene.js";
import GameScene from "../scenes/GameScene.js";

export default {
	type: Phaser.CANVAS,
	parent: "game",
	width: window.innerWidth,
	height: window.innerHeight,
    transparent: true,
	scale: {
		// mode: Phaser.Scale.ENVELOP,
		mode: Phaser.Scale.RESIZE,
		autoCenter: Phaser.Scale.CENTER_BOTH,
		// width: 1280,
		// height: 720
		// orientation: Phaser.Scale.Orientation.LANDSCAPE,
	},
	devicePixelRatio: window.devicePixelRatio,
	scene: [LoadScene, GameScene],
	physics: {
		default: "arcade",
		arcade: {
			gravity: { x: 0, y: 0 }
		}
	},
};


