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:
@@ -1,85 +1,85 @@
|
||||
<? xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<tileset version="1.10" tiledversion="1.11.0" name="water" tilewidth="48" tileheight="48" tilecount="441" columns="21">
|
||||
<image source="water.png" width="1024" height="1024" />
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.10" tiledversion="1.11.0" name="water" tilewidth="48" tileheight="48" tilecount="441" columns="21">
|
||||
<image source="water.png" width="1024" height="1024"/>
|
||||
|
||||
<!-- WATER TERRAIN - Auto-tiling definition -->
|
||||
<!-- Assuming 3x3 corner pattern starts at tile 0 -->
|
||||
<terraintypes>
|
||||
<terrain name="Water" tile="10" />
|
||||
</terraintypes>
|
||||
<!-- WATER TERRAIN - Auto-tiling definition -->
|
||||
<!-- Assuming 3x3 corner pattern starts at tile 0 -->
|
||||
<terraintypes>
|
||||
<terrain name="Water" tile="10"/>
|
||||
</terraintypes>
|
||||
|
||||
<!-- Standard 3x3 Water Pattern (adjust IDs based on actual layout) -->
|
||||
<!-- Row 1 -->
|
||||
<tile id="0" terrain=",,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_topleft" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="1" terrain=",,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_top" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="2" terrain=",,0,">
|
||||
<properties>
|
||||
<property name="type" value="water_topright" />
|
||||
</properties>
|
||||
</tile>
|
||||
<!-- Standard 3x3 Water Pattern (adjust IDs based on actual layout) -->
|
||||
<!-- Row 1 -->
|
||||
<tile id="0" terrain=",,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_topleft"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="1" terrain=",,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_top"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="2" terrain=",,0,">
|
||||
<properties>
|
||||
<property name="type" value="water_topright"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<!-- Row 2 -->
|
||||
<tile id="21" terrain=",0,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_left" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="22" terrain="0,0,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_center" />
|
||||
<property name="animated" type="bool" value="true" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="23" terrain="0,,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_right" />
|
||||
</properties>
|
||||
</tile>
|
||||
<!-- Row 2 -->
|
||||
<tile id="21" terrain=",0,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_left"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="22" terrain="0,0,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_center"/>
|
||||
<property name="animated" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="23" terrain="0,,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_right"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<!-- Row 3 -->
|
||||
<tile id="42" terrain=",0,,">
|
||||
<properties>
|
||||
<property name="type" value="water_bottomleft" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="43" terrain="0,0,,">
|
||||
<properties>
|
||||
<property name="type" value="water_bottom" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="44" terrain="0,,,">
|
||||
<properties>
|
||||
<property name="type" value="water_bottomright" />
|
||||
</properties>
|
||||
</tile>
|
||||
<!-- Row 3 -->
|
||||
<tile id="42" terrain=",0,,">
|
||||
<properties>
|
||||
<property name="type" value="water_bottomleft"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="43" terrain="0,0,,">
|
||||
<properties>
|
||||
<property name="type" value="water_bottom"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="44" terrain="0,,,">
|
||||
<properties>
|
||||
<property name="type" value="water_bottomright"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<!-- Inner Corners (for complex shapes) -->
|
||||
<tile id="3" terrain="0,0,0,">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_topright" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="24" terrain="0,,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_topleft" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="45" terrain="0,0,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_bottomright" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="20" terrain=",0,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_bottomleft" />
|
||||
</properties>
|
||||
</tile>
|
||||
</tileset>
|
||||
<!-- Inner Corners (for complex shapes) -->
|
||||
<tile id="3" terrain="0,0,0,">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_topright"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="24" terrain="0,,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_topleft"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="45" terrain="0,0,,0">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_bottomright"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="20" terrain=",0,0,0">
|
||||
<properties>
|
||||
<property name="type" value="water_inner_bottomleft"/>
|
||||
</properties>
|
||||
</tile>
|
||||
</tileset>
|
||||
|
||||
Reference in New Issue
Block a user