Files
novafarma/assets/maps/NEW_TILESETS_GUIDE.md
NovaFarma Dev 26bb94e8bb 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!
2025-12-20 10:29:28 +01:00

2.9 KiB
Raw Blame History

🎨 NOVE TILESETS DODANE V TILED!

Datum: 20. Dec 2025
Status: 4 novi tilesets dodani


📦 DODANI TILESETS:

1. Tools (Orodja) 🔧

File: tools.tsx / tools.png
Grid: 3×2 = 6 tiles
Tile Size: 256×256px

Objekti:

  • [0] Hoe (motika)
  • [1] Pickaxe (kramp)
  • [2] Axe (sekira)
  • [3] Scythe (kosa)
  • [4] Fishing Rod (ribiška palica)
  • [5] Watering Can (zalivalka)

2. Crops (Posevki) 🌱

File: crops.tsx / crops.png
Grid: 3×2 = 6 tiles
Tile Size: 256×256px

Objekti:

  • [0] Seed (seme)
  • [1] Venus Flytrap Small (mala rastlina)
  • [2] Flower Bud (cvet v brstu)
  • [3] Venus Flytrap Medium
  • [4] Venus Flytrap Large (velika žrobnežka!)
  • [5] Watering Can (zalivalka zelena)

Usage: Growth stages za crops!


3. Terrain Autotile 🌿

File: terrain_autotile.tsx / terrain_autotile.png
Grid: 4×4 = 16 tiles
Tile Size: 256×256px

Vsebina:

  • Grass with flowers (trava s cvetlicami)
  • Tilled soil variations (zorana zemlja s prehodiš)
  • Auto-blending edges

Usage: Lahko zamenja grass_soil_autotile za bolj detailed look!


4. Nature Decorations 🪨🌳

File: decorations_tiles.tsx / decorations.png
Grid: 6×2 = 12 tiles
Tile Size: 256×256px

Objekti:

  • [0] Rock Small
  • [1] Rock Medium
  • [2] Branch (veja)
  • [3] Flowers (šop rož)
  • [4-9] Log variations (hlodi, fallen trees)
  • [10] Stump (štor)
  • [11] Berry Bush (grmovnica)

Usage: Nature decorations za realistic look!


🗺️ V MICRO_FARM_128x128.TMX:

Vsi 4 novi tilesets so že dodani!

Tileset IDs:

  • firstgid=1: grass_soil_autotile
  • firstgid=17: fence_autotile
  • firstgid=33: micro_camp_24px
  • firstgid=41: kai_character
  • firstgid=45: tools ← NOVO!
  • firstgid=51: crops ← NOVO!
  • firstgid=57: terrain_autotile ← NOVO!
  • firstgid=73: decorations_tiles ← NOVO!
  • firstgid=85: farm_obstacles

🎨 KAKO UPORABITI:

V Tiled:

  1. Odpri mapo: micro_farm_128x128.tmx
  2. Tilesets panel → Vidite vse nove tilesets!
  3. Stamp Brush (B) → Izberi tool/crop/decoration
  4. Postavi na mapo!

Primer Usage:

Decorations Layer:

- Rocks scattered around edges
- Logs near trees
- Berry bushes around farm

Objects Layer:

- Tools leaning on fence
- Watering can near farm
- Crops growing on tilled soil

⚠️ POMEMBNO - TILE SIZE:

Problem: Te tilesets imajo 256×256px tiles - VELIKO večji kot ground tiles (48×48px)!

V Tiled: Ti objekti bodo OGROMNI če jih postavite direktno!

Rešitve:

  1. Shrink v Phaser - Load z scaling
  2. Resize PNG - Ponovno generiraj na 48×48px ali 96×96px
  3. Use as is - Za detail/showcase views

🚀 READY ZA UPORABO!

Vsi tilesets so ready v Tiled - reload mapo in začnite dizajnirati! 🎨