Tiled Map Editor Exploration + Bug Fixes
Tiled Setup: - Installed Tiled v1.11.2 (winget) - Created workflow documentation (.agent/workflows/tiled-map-setup.md) - Generated demo Tiled map files (farm_map.tmx, .json, .tsx) - Created TILED_INTEGRATION_STATUS.md documentation Bug Fixes: - SaveSystem.js: Fixed compatibility with Flat2DTerrainSystem - InteractionSystem.js: Added null checks for terrainSystem - PreloadScene.js: Tiled asset loading (currently not used) Documentation: - Created DNEVNIK.md (development diary) - Updated QUICK_TASK_REFERENCE.md with recent work Note: Tiled integration incomplete (tileset size issues) - Reverted to procedural Flat2DTerrainSystem (working) - Future work: Create proper 192x192 tileset PNGs Session: 2h (20:00-22:00) Date: 14.12.2024
This commit is contained in:
@@ -25,6 +25,18 @@ class PreloadScene extends Phaser.Scene {
|
||||
// 💧 WEATHER EFFECTS
|
||||
this.load.image('luza_sprite', 'assets/sprites/luza.png'); // Puddle sprite
|
||||
|
||||
// 🎨 2D TILESET IMAGES (Stardew Valley Style)
|
||||
this.load.image('tileset_grass', 'assets/tilesets/grass.png');
|
||||
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');
|
||||
|
||||
// 🗺️ TILED MAP (JSON export from Tiled Editor)
|
||||
this.load.tilemapTiledJSON('farm_map', 'assets/maps/farm_map.json');
|
||||
this.load.image('grass_tileset_img', 'assets/tilesets/grass.png');
|
||||
this.load.image('water_tileset_img', 'assets/tilesets/water.png');
|
||||
this.load.image('decorations_tileset_img', 'assets/tilesets/decorations.png');
|
||||
|
||||
// New asset packs
|
||||
this.load.image('objects_pack', 'assets/objects_pack.png');
|
||||
this.load.image('walls_pack', 'assets/walls_pack.png');
|
||||
|
||||
Reference in New Issue
Block a user