mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:21:09 +02:00
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
18 lines
324 B
JavaScript
18 lines
324 B
JavaScript
// Game configuration
|
|
const config = {
|
|
type: Phaser.AUTO,
|
|
width: 800,
|
|
height: 600,
|
|
pixelArt: true,
|
|
physics: {
|
|
default: 'arcade',
|
|
arcade: {
|
|
gravity: { y: 0 },
|
|
debug: false,
|
|
},
|
|
},
|
|
scene: [BootScene, MainMenuScene, GameScene, RPGScene],
|
|
};
|
|
|
|
// Create and start the game
|
|
const game = new Phaser.Game(config);
|