From b7c9dc7773c88a13c484f007c445a18cd710c93b Mon Sep 17 00:00:00 2001 From: NovaFarma Dev Date: Thu, 11 Dec 2025 11:40:07 +0100 Subject: [PATCH] FIX: Farm size 100x100, center (50,50), light grey background - Restored 8.DEC version with bug fixes --- TASKS.md | 13 ++++++++++--- src/scenes/GameScene.js | 4 ++-- src/systems/TerrainSystem.js | 6 +++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/TASKS.md b/TASKS.md index 9f6334d..0522aa7 100644 --- a/TASKS.md +++ b/TASKS.md @@ -573,9 +573,16 @@ Povezava dogodkov z achievementi. - [ ] Test offline vs online behavior --- -**PROJECT STATUS: ALPHA READY - INTEGRATION PHASE** 🚀 -*Last Updated: 8.12.2025 - 18:05* -*Next Milestone: Integration Testing → Beta Release* +**PROJECT STATUS: RESTORED - 8.DEC VERSION + BUG FIXES** 🚀 +*Last Updated: 11.12.2025 - 11:40* +*Version: 8.DEC.2025 19:00 (Restored with fixes)* +*Next Milestone: Continue from Phase 16 → Integration Testing* + +**RECENT FIXES (11.DEC.2025):** +- ✅ Fixed FARM_SIZE (8 → 100) - Large green platform +- ✅ Fixed FARM_CENTER (20,20 → 50,50) - Centered map +- ✅ Fixed Background color (#1a1a2e → #c8c8c8) - Light grey bg +- ✅ Restored working version from 8.DEC evening (commit b46c5dc) --- diff --git a/src/scenes/GameScene.js b/src/scenes/GameScene.js index 1e6b13d..a8f3c44 100644 --- a/src/scenes/GameScene.js +++ b/src/scenes/GameScene.js @@ -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(); diff --git a/src/systems/TerrainSystem.js b/src/systems/TerrainSystem.js index 678c787..878b232 100644 --- a/src/systems/TerrainSystem.js +++ b/src/systems/TerrainSystem.js @@ -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)