- Created 4 TSX tilesets with terrain/wang set definitions - grass_soil_autotile.tsx (terrain-based) - fence_autotile.tsx (wang set) - water_tileset_autotile.tsx - grass_tileset_autotile.tsx Documentation: - AUTO_TILING_VODIC.md (Slovenian guide) - TERRAIN_NOTATION_REFERENCE.md - AUTO_TILING_CHECKLIST.md - AUTO_TILING_SESSION_SUMMARY.md - Updated MICRO_FARM_VODIC.md - Updated DNEVNIK.md Generated TOP-DOWN sprite sheets (7 packs): - town_buildings_topdown.png - trees_topdown_pack.png - rocks_obstacles_topdown.png - mine_entrances_topdown.png - starting_camp_topdown.png - farm_structures_topdown.png - buildings_ruins_states.png (3 states per building) Organized 60 Krvava Zetev sprites in krvava_zetev_sprites folder All assets vibrant colors, NO grays, ready for Tiled!
3.9 KiB
3.9 KiB
🧭 Tiled Terrain Quick Reference
Corner-Based Terrain Notation
Tiled uporablja 4-corner system za definiranje terrain transitions.
Format Notation
terrain="TopLeft,TopRight,BottomLeft,BottomRight"
Vsaka pozicija ima številko terrajna (0, 1, 2...) ali je prazna (,) če ni terrain.
📊 Visual Guide - 3x3 Terrain Pattern
┌─────────┬─────────┬─────────┐
│ TL │ T │ TR │
│ ,,,0 │ ,,0,0 │ ,,0, │
├─────────┼─────────┼─────────┤
│ L │ CENTER │ R │
│ ,0,,0 │ 0,0,0,0 │ 0,,,0 │
├─────────┼─────────┼─────────┤
│ BL │ B │ BR │
│ ,0,, │ 0,0,, │ 0,,, │
└─────────┴─────────┴─────────┘
Legend:
TL = Top-Left T = Top TR = Top-Right
L = Left C = Center R = Right
BL = Bottom-Left B = Bottom BR = Bottom-Right
🎨 Examples: Terrain ID "0"
| Tile Type | Terrain Value | Visual | Description |
|---|---|---|---|
| Top-Left Corner | ,,,0 |
◣ |
Only bottom-right corner belongs to terrain |
| Top Edge | ,,0,0 |
▄ |
Bottom two corners belong to terrain |
| Top-Right Corner | ,,0, |
◢ |
Only bottom-left corner belongs to terrain |
| Left Edge | ,0,,0 |
▐ |
Right two corners belong to terrain |
| Center (FILL) | 0,0,0,0 |
█ |
All four corners belong to terrain |
| Right Edge | 0,,,0 |
▌ |
Left two corners belong to terrain |
| Bottom-Left Corner | ,0,, |
◤ |
Only top-right corner belongs to terrain |
| Bottom Edge | 0,0,, |
▀ |
Top two corners belong to terrain |
| Bottom-Right Corner | 0,,, |
◥ |
Only top-left corner belongs to terrain |
🔀 Inner Corners (Advanced)
Za kompleksne oblike potrebuješ "inner corners":
| Tile Type | Terrain Value | Visual | Description |
|---|---|---|---|
| Inner Top-Left | 0,,0,0 |
Konkaven kot | Missing top-right corner |
| Inner Top-Right | 0,0,0, |
Konkaven kot | Missing bottom-right corner |
| Inner Bottom-Left | ,0,0,0 |
Konkaven kot | Missing top-left corner |
| Inner Bottom-Right | 0,0,,0 |
Konkaven kot | Missing bottom-left corner |
🌊 Multi-Terrain Example
Grass (0) in Dirt (1)
<!-- GRASS TERRAIN -->
<tile id="0" terrain=",,,0"/> <!-- Grass Top-Left -->
<tile id="5" terrain="0,0,0,0"/> <!-- Grass Center -->
<!-- DIRT TERRAIN -->
<tile id="10" terrain=",,,1"/> <!-- Dirt Top-Left -->
<tile id="15" terrain="1,1,1,1"/> <!-- Dirt Center -->
<!-- TRANSITION: Grass to Dirt -->
<tile id="20" terrain="0,0,1,1"/> <!-- Top is Grass, Bottom is Dirt -->
🎯 Pro Tips
- Empty = Non-terrain: Prazno (,) pomeni "ta kot ni del terrajna"
- Terrain 0 = First: Prvi terrain je vedno ID 0, drugi je 1, itd.
- Symmetry: Pazi na simetrijo -
,,0,0(top edge) NI enako kot0,0,,(bottom edge) - Testing: Uporabi Fill Tool v Tiled-u za test terrain transitions
🔧 Wang Sets (Alternative)
Za connected structures (ograje, cevi):
<wangset name="Fence" type="edge" tile="-1">
<wangcolor name="Fence" color="#ff0000" tile="-1"/>
<wangtile tileid="0" wangid="0,0,1,0,1,0,0,0"/>
</wangset>
Wang ID Format (Edge-based):
wangid="Top,Top,Right,Right,Bottom,Bottom,Left,Left"
Vsaka pozicija: 0 = no edge, 1 = edge exists
📚 Learning Path
- ✅ Začni s preprostimi 3x3 terrain patterns
- ✅ Preizkusi Terrain Brush v Tiled-u
- ✅ Dodaj inner corners za kompleksne oblike
- ✅ Eksperimentiraj z multi-terrain transitions
- ✅ Preidi na Wang Sets za connected structures
Happy Terrain Painting! 🎨