Tiled auto-tiling setup + 16x16 starting base map

- Fixed XML headers in all TSX files (removed spaces)
- Created starting_base_16x16.tmx map (768x768px)
- Generated micro camp objects (1-tile icons)
- Added all tilesets to new map:
  * grass_soil_autotile.tsx
  * fence_autotile.tsx
  * starting_camp.tsx
  * farm_obstacles.png
- Generated 7 TOP-DOWN object sprite sheets
- Organized 60 Krvava Zetev sprites
- Updated DNEVNIK with session notes

Ready for Tiled map design on Monday!
This commit is contained in:
2025-12-20 00:47:49 +01:00
parent 7cc66d0e2b
commit a11b5476c0
10 changed files with 531 additions and 240 deletions

View File

@@ -1,44 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="8" height="8" tilewidth="48" tileheight="48" infinite="0" nextlayerid="7" nextobjectid="2"> <map version="1.10" tiledversion="1.11.2" orientation="orthogonal" renderorder="right-down" width="8" height="8" tilewidth="48" tileheight="48" infinite="0" nextlayerid="7" nextobjectid="2">
<tileset firstgid="1" name="grass_soil" tilewidth="48" tileheight="48" tilecount="16" columns="4"> <tileset firstgid="1" name="grass_soil" tilewidth="48" tileheight="48" tilecount="441" columns="21">
<image source="../tilesets/grass_soil_autotile.png" width="192" height="192"/> <image source="../tilesets/grass_soil_autotile.png" width="1024" height="1024"/>
</tileset> </tileset>
<tileset firstgid="17" name="fence" tilewidth="48" tileheight="48" tilecount="16" columns="4"> <tileset firstgid="442" name="fence" tilewidth="48" tileheight="48" tilecount="441" columns="21">
<image source="../tilesets/fence_autotile.png" width="192" height="192"/> <image source="../tilesets/fence_autotile.png" width="1024" height="1024"/>
</tileset> </tileset>
<tileset firstgid="33" name="obstacles" tilewidth="48" tileheight="48" tilecount="32" columns="8"> <tileset firstgid="883" name="obstacles" tilewidth="48" tileheight="48" tilecount="441" columns="21">
<image source="../tilesets/farm_obstacles.png" width="384" height="192"/> <image source="../tilesets/farm_obstacles.png" width="1024" height="1024"/>
</tileset> </tileset>
<!-- GROUND LAYER: Trava kjer lahko hodi karakter -->
<layer id="1" name="Ground" width="8" height="8"> <layer id="1" name="Ground" width="8" height="8">
<data encoding="csv"> <data encoding="csv">
6,6,7,6,6,7,6,6, 38,38,39,40,45,46,47,47,
6,7,6,6,7,6,6,7, 59,160,161,161,129,130,161,47,
7,6,6,7,6,6,7,6, 80,134,135,129,130,151,182,47,
6,6,7,6,6,7,6,6, 101,134,134,135,151,66,67,68,
6,7,6,6,7,6,6,7, 176,134,155,156,101,129,130,89,
7,6,6,7,6,6,7,6, 70,155,155,156,129,150,151,157,
6,6,7,6,6,7,6,6, 70,71,72,150,150,150,151,178,
6,7,6,6,7,6,6,7 91,92,93,93,93,93,198,199
</data> </data>
</layer> </layer>
<!-- TILLED SOIL: Zorana zemlja (postaviš kjer želiš) -->
<layer id="2" name="TilledSoil" width="8" height="8"> <layer id="2" name="TilledSoil" width="8" height="8">
<data encoding="csv"> <data encoding="csv">
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,14,14,14,0,0,0,0,
0,14,14,14,0,0,0,0,
0,14,14,14,0,0,0,0,
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,0,365,366,367,0,0,0,
0,0,386,387,388,0,0,0,
0,0,407,408,409,0,0,0,
0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,0
</data> </data>
</layer> </layer>
<!-- FENCE LAYER: Ograje -->
<layer id="3" name="Fences" width="8" height="8"> <layer id="3" name="Fences" width="8" height="8">
<data encoding="csv"> <data encoding="csv">
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
@@ -51,26 +45,23 @@
0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,0
</data> </data>
</layer> </layer>
<!-- DECORATIONS: Skale, podrta drevesa -->
<layer id="4" name="Decorations" width="8" height="8"> <layer id="4" name="Decorations" width="8" height="8">
<data encoding="csv"> <data encoding="csv">
0,0,0,0,0,41,0,0,
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,33,0,0,0,0,0,0,
0,0,0,0,0,0,43,0,
0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
0,49,50,0,0,0,0,0 0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
</data> </data>
</layer> </layer>
<objectgroup id="6" name="FarmBoundary"> <objectgroup id="6" name="FarmBoundary">
<object id="1" name="FarmArea" x="0" y="0" width="384" height="384"> <object id="1" name="FarmArea" x="0" y="0" width="384" height="384">
<properties> <properties>
<property name="type" value="micro_farm"/>
<property name="size" value="8x8"/> <property name="size" value="8x8"/>
<property name="type" value="micro_farm"/>
</properties> </properties>
</object> </object>
</objectgroup> </objectgroup>

View File

@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="8" height="8" tilewidth="48" tileheight="48" infinite="0" nextlayerid="6" nextobjectid="1">
<!-- Ground Layer: Base grass -->
<layer id="1" name="Ground" width="8" height="8">
<data encoding="csv">
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
</data>
</layer>
<!-- Tilled Soil Layer: For farming plots -->
<layer id="2" name="TilledSoil" width="8" height="8">
<data encoding="csv">
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
</data>
</layer>
<!-- Fences Layer: For fencing -->
<layer id="3" name="Fences" width="8" height="8">
<data encoding="csv">
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
</data>
</layer>
<!-- Decorations Layer: Rocks, trees, objects -->
<layer id="4" name="Decorations" width="8" height="8">
<data encoding="csv">
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
</data>
</layer>
<!-- Objects Layer: For buildings, large objects -->
<layer id="5" name="Objects" width="8" height="8">
<data encoding="csv">
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
</data>
</layer>
</map>

View File

@@ -0,0 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="16" height="16" tilewidth="48" tileheight="48" infinite="0" nextlayerid="6" nextobjectid="1">
<!-- TILESETS -->
<tileset firstgid="1" source="../tilesets/grass_soil_autotile.tsx"/>
<tileset firstgid="17" source="../tilesets/fence_autotile.tsx"/>
<tileset firstgid="33" source="../tilesets/starting_camp.tsx"/>
<tileset firstgid="45" name="farm_obstacles" tilewidth="48" tileheight="48" tilecount="32" columns="8">
<image source="../tilesets/farm_obstacles.png" width="384" height="192"/>
</tileset>
<!-- Ground Layer: Base grass -->
<layer id="1" name="Ground" width="16" height="16">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<!-- Fences Layer -->
<layer id="3" name="Fences" width="16" height="16">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<!-- Decorations Layer -->
<layer id="4" name="Decorations" width="16" height="16">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<!-- Objects Layer: Camp objects, buildings -->
<layer id="5" name="Objects" width="16" height="16">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
</map>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 KiB

After

Width:  |  Height:  |  Size: 496 KiB

View File

@@ -1,4 +1,4 @@
<? xml version = "1.0" encoding = "UTF-8" ?> <?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.0" name="fence_autotile" tilewidth="48" tileheight="48" tilecount="16" columns="4"> <tileset version="1.10" tiledversion="1.11.0" name="fence_autotile" tilewidth="48" tileheight="48" tilecount="16" columns="4">
<image source="fence_autotile.png" width="192" height="192" /> <image source="fence_autotile.png" width="192" height="192" />

View File

@@ -1,4 +1,4 @@
<? 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"> <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" />

View File

@@ -0,0 +1,100 @@
<? 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" />
<!-- 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>
<!-- 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>
<!-- 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.0" name="starting_camp" tilewidth="48" tileheight="48" tilecount="12" columns="4">
<image source="starting_camp_topdown.png" width="192" height="144"/>
</tileset>

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 KiB