feat: Tiled Map Editor - Complete tileset library (16 tilesets, 172 tiles)

- Added 16 professional tilesets for farm game
- Character sprites: Kai (96px + 512px), Zombie
- Tree growth: Cherry, Apple, Oak, Pine (5 stages each)
- Crop growth: Potatoes, Carrots, Corn, Pumpkin, Wheat (4 stages each)
- Camp objects: Tents, campfire, chests, workbench (12 items)
- Tools: Hoe, pickaxe, axe, scythe, fishing rod, watering can
- Decorations: Rocks, logs, flowers, berry bushes
- Terrain: Autotiling grass/soil, detailed terrain tiles

Maps:
- Created micro_farm_128x128.tmx (128x128 tiles, 6144x6144px)
- Updated starting_base_16x16.tmx with new tilesets
- Complete implementation plans for both maps

Fixes:
- Fixed XML headers in all TSX files (removed spaces)
- Verified all PNG files present
- Kai character sized correctly (96x96px = 2x2 ground tiles)

Documentation:
- Complete session summary (SESSION_COMPLETE.md)
- Tileset guides and troubleshooting
- Size fix documentation (KAI_SIZE_FIXED.md)
- DNEVNIK updated with session details

Ready for map design in Tiled and Phaser integration!
This commit is contained in:
2025-12-20 10:29:28 +01:00
parent a85db673ed
commit 26bb94e8bb
47 changed files with 2713 additions and 410 deletions

View File

@@ -1,100 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.0" name="grass_soil" tilewidth="48" tileheight="48" tilecount="16" columns="4">
<image source="grass_soil_autotile.png" width="192" height="192" />
<image source="grass_soil_autotile.png" width="192" height="192"/>
<!-- TERRAIN DEFINITIONS for Auto-Tiling -->
<terraintypes>
<terrain name="Grass" tile="5" />
<terrain name="TilledSoil" tile="13" />
</terraintypes>
<!-- TERRAIN DEFINITIONS for Auto-Tiling -->
<terraintypes>
<terrain name="Grass" tile="5"/>
<terrain name="TilledSoil" tile="13"/>
</terraintypes>
<!-- GRASS TERRAIN (Tiles 0-7) -->
<!-- Row 1: Top-Left, Top, Top-Right, Inner Top-Right Corner -->
<tile id="0" terrain=",,,0">
<properties>
<property name="type" value="grass_topleft" />
</properties>
</tile>
<tile id="1" terrain=",,0,0">
<properties>
<property name="type" value="grass_top" />
</properties>
</tile>
<tile id="2" terrain=",,0,">
<properties>
<property name="type" value="grass_topright" />
</properties>
</tile>
<tile id="3" terrain="0,0,0,">
<properties>
<property name="type" value="grass_inner_topright" />
</properties>
</tile>
<!-- GRASS TERRAIN (Tiles 0-7) -->
<!-- Row 1: Top-Left, Top, Top-Right, Inner Top-Right Corner -->
<tile id="0" terrain=",,,0">
<properties>
<property name="type" value="grass_topleft"/>
</properties>
</tile>
<tile id="1" terrain=",,0,0">
<properties>
<property name="type" value="grass_top"/>
</properties>
</tile>
<tile id="2" terrain=",,0,">
<properties>
<property name="type" value="grass_topright"/>
</properties>
</tile>
<tile id="3" terrain="0,0,0,">
<properties>
<property name="type" value="grass_inner_topright"/>
</properties>
</tile>
<!-- Row 2: Left, Center, Right, Inner Top-Left Corner -->
<tile id="4" terrain=",0,,0">
<properties>
<property name="type" value="grass_left" />
</properties>
</tile>
<tile id="5" terrain="0,0,0,0">
<properties>
<property name="type" value="grass_center" />
</properties>
</tile>
<tile id="6" terrain="0,,,0">
<properties>
<property name="type" value="grass_right" />
</properties>
</tile>
<tile id="7" terrain="0,,0,0">
<properties>
<property name="type" value="grass_inner_topleft" />
</properties>
</tile>
<!-- Row 2: Left, Center, Right, Inner Top-Left Corner -->
<tile id="4" terrain=",0,,0">
<properties>
<property name="type" value="grass_left"/>
</properties>
</tile>
<tile id="5" terrain="0,0,0,0">
<properties>
<property name="type" value="grass_center"/>
</properties>
</tile>
<tile id="6" terrain="0,,,0">
<properties>
<property name="type" value="grass_right"/>
</properties>
</tile>
<tile id="7" terrain="0,,0,0">
<properties>
<property name="type" value="grass_inner_topleft"/>
</properties>
</tile>
<!-- TILLED SOIL TERRAIN (Tiles 8-15) -->
<!-- Row 3: Top-Left, Top, Top-Right, Inner Top-Right Corner -->
<tile id="8" terrain=",,,1">
<properties>
<property name="type" value="soil_topleft" />
</properties>
</tile>
<tile id="9" terrain=",,1,1">
<properties>
<property name="type" value="soil_top" />
</properties>
</tile>
<tile id="10" terrain=",,1,">
<properties>
<property name="type" value="soil_topright" />
</properties>
</tile>
<tile id="11" terrain="1,1,1,">
<properties>
<property name="type" value="soil_inner_topright" />
</properties>
</tile>
<!-- TILLED SOIL TERRAIN (Tiles 8-15) -->
<!-- Row 3: Top-Left, Top, Top-Right, Inner Top-Right Corner -->
<tile id="8" terrain=",,,1">
<properties>
<property name="type" value="soil_topleft"/>
</properties>
</tile>
<tile id="9" terrain=",,1,1">
<properties>
<property name="type" value="soil_top"/>
</properties>
</tile>
<tile id="10" terrain=",,1,">
<properties>
<property name="type" value="soil_topright"/>
</properties>
</tile>
<tile id="11" terrain="1,1,1,">
<properties>
<property name="type" value="soil_inner_topright"/>
</properties>
</tile>
<!-- Row 4: Left, Center, Right, Inner Top-Left Corner -->
<tile id="12" terrain=",1,,1">
<properties>
<property name="type" value="soil_left" />
</properties>
</tile>
<tile id="13" terrain="1,1,1,1">
<properties>
<property name="type" value="soil_center" />
</properties>
</tile>
<tile id="14" terrain="1,,,1">
<properties>
<property name="type" value="soil_right" />
</properties>
</tile>
<tile id="15" terrain="1,,1,1">
<properties>
<property name="type" value="soil_inner_topleft" />
</properties>
</tile>
<!-- Row 4: Left, Center, Right, Inner Top-Left Corner -->
<tile id="12" terrain=",1,,1">
<properties>
<property name="type" value="soil_left"/>
</properties>
</tile>
<tile id="13" terrain="1,1,1,1">
<properties>
<property name="type" value="soil_center"/>
</properties>
</tile>
<tile id="14" terrain="1,,,1">
<properties>
<property name="type" value="soil_right"/>
</properties>
</tile>
<tile id="15" terrain="1,,1,1">
<properties>
<property name="type" value="soil_inner_topleft"/>
</properties>
</tile>
</tileset>