This commit is contained in:
Smile Rex
2026-01-21 18:30:37 +03:00
parent 77fa4cbd03
commit 29f2e0b165
28 changed files with 1515 additions and 1574 deletions

16
src/main.ts Normal file
View File

@@ -0,0 +1,16 @@
import Phaser from "phaser";
import { GameScene } from "./scenes/GameScene";
const config: Phaser.Types.Core.GameConfig = {
type: Phaser.AUTO,
width: 360,
height: 640,
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH,
},
backgroundColor: "#1e1e1e",
scene: [GameScene],
};
new Phaser.Game(config);