Files
novafarma/assets/maps/farm_map.tmx
NovaFarma Dev a4d2d137ec 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
2025-12-14 22:55:29 +01:00

36 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="100" height="100" tilewidth="48" tileheight="48" infinite="0" nextlayerid="5" nextobjectid="2">
<tileset firstgid="1" name="grass_tileset" tilewidth="48" tileheight="48" tilecount="16" columns="4">
<image source="../tilesets/tileset_grass_clean.png" width="192" height="192"/>
</tileset>
<tileset firstgid="17" name="water_tileset" tilewidth="48" tileheight="48" tilecount="16" columns="4">
<image source="../tilesets/tileset_water_pond.png" width="192" height="192"/>
<tile id="0">
<properties>
<property name="collides" type="bool" value="true"/>
</properties>
</tile>
</tileset>
<tileset firstgid="33" name="decorations_tileset" tilewidth="48" tileheight="48" tilecount="16" columns="4">
<image source="../tilesets/tileset_decorations.png" width="192" height="192"/>
</tileset>
<layer id="1" name="Ground" width="100" height="100">
<data encoding="base64" compression="zlib">
eJzt0LEJAAAIwzDdf/+d7SBB8KEqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGB3A5UfAAM=
</data>
</layer>
<layer id="2" name="Water" width="100" height="100">
<data encoding="base64" compression="zlib">
eJzt2UEKgCAQBdD5/Zc2CwJpQCwYf+I9aJOL0XQRAAAAAAAAgB/2Nz6w2j47sNo+3xvvj/fH++P98f54f7w/3h/vj/dnzvtzZu6c2Ttnzp09a/as2bNmz5o9a/as2bNmz5o9a/bM2TPH+zP3/tz9fp3Ze+bsmTN7zuw5s+fMnjN7zuw5s2fNnjV71uxZs2fNnjV71uxZs2fNnjV71uxZs2fNnjV71uxZs2fNnjV71uxZs2fNnjV71uxZs2fNnjV71uxZAAAAAACALxdH8Aad
</data>
</layer>
<layer id="3" name="Decorations" width="100" height="100">
<data encoding="base64" compression="zlib">
eJzt1sEJACAMA0Ddf2czCIL4aKE9SCAhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8KcFpx4AAg==
</data>
</layer>
<objectgroup id="4" name="SpawnPoints">
<object id="1" name="PlayerSpawn" x="2400" y="2400" width="48" height="48"/>
</objectgroup>
</map>