FIX: Farm size 100x100, center (50,50), light grey background - Restored 8.DEC version with bug fixes

This commit is contained in:
2025-12-11 11:40:07 +01:00
parent 45529ab8a7
commit b7c9dc7773
3 changed files with 15 additions and 8 deletions

View File

@@ -26,8 +26,8 @@ class GameScene extends Phaser.Scene {
const width = this.cameras.main.width;
const height = this.cameras.main.height;
// Setup kamere
this.cameras.main.setBackgroundColor('#1a1a2e');
// Setup kamere - SVETLO SIVO OZADJE!
this.cameras.main.setBackgroundColor('#c8c8c8');
// Initialize Isometric Utils
this.iso = new IsometricUtils();

View File

@@ -1,9 +1,9 @@
// ========================================================
// NOVE GLOBALNE KONSTANTE ZA LOKACIJE
// ========================================================
const FARM_SIZE = 8;
const FARM_CENTER_X = 20; // Lokacija farme na X osi
const FARM_CENTER_Y = 20; // Lokacija farme na Y osi
const FARM_SIZE = 100; // 100x100 VELIKA PLATFORMA!
const FARM_CENTER_X = 50; // Center mape (50,50)
const FARM_CENTER_Y = 50; // Center mape (50,50)
const CITY_SIZE = 15;
const CITY_START_X = 65; // Desni del mape (npr. med 65 in 80)