This commit is contained in:
2026-01-30 09:01:41 +01:00
parent 0b11bc7f7d
commit 9cd7115989
798 changed files with 7667 additions and 0 deletions

29
nova farma/game.js Normal file
View File

@@ -0,0 +1,29 @@
// Disable Electron Security Warnings
if (typeof process !== 'undefined' && process.env) {
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true';
}
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
},
backgroundColor: '#1a1a1a', // Temno siva, da slika izstopa
parent: 'body',
physics: {
default: 'arcade',
arcade: {
debug: false,
gravity: { y: 0 }
}
},
scene: [GrassScene, UIScene]
};
const game = new Phaser.Game(config);