// Disable Electron Security Warnings if (typeof process !== 'undefined' && process.env) { process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true'; } import MenuScene from './scenes/MenuScene.js'; import GrassScene from './scenes/GrassScene_Clean.js'; import UIScene from './scenes/UIScene.js'; const config = { type: Phaser.AUTO, width: 1920, height: 1080, scale: { mode: Phaser.Scale.FIT, autoCenter: Phaser.Scale.CENTER_BOTH }, pixelArt: false, // Meni uporablja smooth slike backgroundColor: '#000000', parent: 'body', physics: { default: 'arcade', arcade: { debug: false, gravity: { y: 0 } } }, // Vrstni red: MenuScene je prva (avtomatski start), ostale so pasivne scene: [MenuScene, GrassScene, UIScene] }; const game = new Phaser.Game(config);