Fix Biome System integration, memory optimization, and Tiled live sync workflow

This commit is contained in:
2025-12-27 12:50:58 +01:00
parent f8d533465b
commit 43f4b11c87
19 changed files with 1314 additions and 591 deletions

View File

@@ -30,14 +30,15 @@ class PreloadScene extends Phaser.Scene {
this.load.image('tileset_water', 'assets/tilesets/water.png');
this.load.image('tileset_dirt', 'assets/tilesets/dirt.png');
this.load.image('tileset_decorations', 'assets/tilesets/decorations.png');
this.load.image('tileset_camp_objects', 'assets/tilesets/camp_objects.png');
this.load.image('tileset_starting_camp', 'assets/tilesets/starting_camp_topdown.png');
// 🗺️ TILED MAP (JSON export from Tiled Editor) - DISABLED (files removed)
// this.load.tilemapTiledJSON('farm_map', 'assets/maps/farm_map.json');
// this.load.tilemapTiledJSON('micro_farm_128x128', 'assets/maps/micro_farm_128x128.json'); // 🌾 Testna farma
// this.load.tilemapTiledJSON('micro_farm_8x8', 'assets/maps/micro_farm_8x8.json'); // 🏕️ Manjša test mapa
// 🗺️ TILED MAP (User's NovaFarma)
// Add cache busting to force reload of new exports
this.load.tilemapTiledJSON('NovaFarma', `assets/maps/NovaFarma.json?v=${Date.now()}`);
// 🗺️ TILED MAP (User's NovaFarma / Testing)
this.load.tilemapTiledJSON('NovaFarma', `assets/maps/testni_travnik.json?v=${Date.now()}`);
// 🎨 TILED TILESETS (Manual Loading)
const kzPath = 'assets/narezano_in_majhno/krvava_zetev_sprites/';