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,129 +1,129 @@
|
||||
<? xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<tileset version="1.10" tiledversion="1.11.0" name="grass" tilewidth="48" tileheight="48" tilecount="441" columns="21">
|
||||
<image source="grass.png" width="1024" height="1024" />
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.10" tiledversion="1.11.0" name="grass" tilewidth="48" tileheight="48" tilecount="441" columns="21">
|
||||
<image source="grass.png" width="1024" height="1024"/>
|
||||
|
||||
<!-- GRASS TERRAIN - Auto-tiling definition -->
|
||||
<terraintypes>
|
||||
<terrain name="Grass" tile="10" />
|
||||
<terrain name="Dirt Path" tile="52" />
|
||||
</terraintypes>
|
||||
<!-- GRASS TERRAIN - Auto-tiling definition -->
|
||||
<terraintypes>
|
||||
<terrain name="Grass" tile="10"/>
|
||||
<terrain name="Dirt Path" tile="52"/>
|
||||
</terraintypes>
|
||||
|
||||
<!-- GRASS TERRAIN (Basic 3x3 pattern) -->
|
||||
<!-- Row 1 -->
|
||||
<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>
|
||||
<!-- GRASS TERRAIN (Basic 3x3 pattern) -->
|
||||
<!-- Row 1 -->
|
||||
<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>
|
||||
|
||||
<!-- Row 2 (skipping to next row in 21-column layout) -->
|
||||
<tile id="21" terrain=",0,,0">
|
||||
<properties>
|
||||
<property name="type" value="grass_left" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="22" terrain="0,0,0,0">
|
||||
<properties>
|
||||
<property name="type" value="grass_center" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="23" terrain="0,,,0">
|
||||
<properties>
|
||||
<property name="type" value="grass_right" />
|
||||
</properties>
|
||||
</tile>
|
||||
<!-- Row 2 (skipping to next row in 21-column layout) -->
|
||||
<tile id="21" terrain=",0,,0">
|
||||
<properties>
|
||||
<property name="type" value="grass_left"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="22" terrain="0,0,0,0">
|
||||
<properties>
|
||||
<property name="type" value="grass_center"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="23" terrain="0,,,0">
|
||||
<properties>
|
||||
<property name="type" value="grass_right"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<!-- Row 3 -->
|
||||
<tile id="42" terrain=",0,,">
|
||||
<properties>
|
||||
<property name="type" value="grass_bottomleft" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="43" terrain="0,0,,">
|
||||
<properties>
|
||||
<property name="type" value="grass_bottom" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="44" terrain="0,,,">
|
||||
<properties>
|
||||
<property name="type" value="grass_bottomright" />
|
||||
</properties>
|
||||
</tile>
|
||||
<!-- Row 3 -->
|
||||
<tile id="42" terrain=",0,,">
|
||||
<properties>
|
||||
<property name="type" value="grass_bottomleft"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="43" terrain="0,0,,">
|
||||
<properties>
|
||||
<property name="type" value="grass_bottom"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="44" terrain="0,,,">
|
||||
<properties>
|
||||
<property name="type" value="grass_bottomright"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<!-- DIRT PATH TERRAIN (if exists in tileset) -->
|
||||
<!-- Row 3 starting from column 10 (adjust based on actual layout) -->
|
||||
<tile id="10" terrain=",,,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_topleft" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="11" terrain=",,1,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_top" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="12" terrain=",,1,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_topright" />
|
||||
</properties>
|
||||
</tile>
|
||||
<!-- DIRT PATH TERRAIN (if exists in tileset) -->
|
||||
<!-- Row 3 starting from column 10 (adjust based on actual layout) -->
|
||||
<tile id="10" terrain=",,,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_topleft"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="11" terrain=",,1,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_top"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="12" terrain=",,1,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_topright"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<tile id="31" terrain=",1,,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_left" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="32" terrain="1,1,1,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_center" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="33" terrain="1,,,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_right" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="31" terrain=",1,,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_left"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="32" terrain="1,1,1,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_center"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="33" terrain="1,,,1">
|
||||
<properties>
|
||||
<property name="type" value="dirt_right"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<tile id="52" terrain=",1,,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_bottomleft" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="53" terrain="1,1,,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_bottom" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="54" terrain="1,,,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_bottomright" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="52" terrain=",1,,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_bottomleft"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="53" terrain="1,1,,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_bottom"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="54" terrain="1,,,">
|
||||
<properties>
|
||||
<property name="type" value="dirt_bottomright"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
||||
<!-- Add variation tiles for visual interest -->
|
||||
<tile id="24">
|
||||
<properties>
|
||||
<property name="type" value="grass_flowers_yellow" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="25">
|
||||
<properties>
|
||||
<property name="type" value="grass_flowers_pink" />
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="26">
|
||||
<properties>
|
||||
<property name="type" value="grass_flowers_white" />
|
||||
</properties>
|
||||
</tile>
|
||||
</tileset>
|
||||
<!-- Add variation tiles for visual interest -->
|
||||
<tile id="24">
|
||||
<properties>
|
||||
<property name="type" value="grass_flowers_yellow"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="25">
|
||||
<properties>
|
||||
<property name="type" value="grass_flowers_pink"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="26">
|
||||
<properties>
|
||||
<property name="type" value="grass_flowers_white"/>
|
||||
</properties>
|
||||
</tile>
|
||||
</tileset>
|
||||
|
||||
Reference in New Issue
Block a user