123 lines
2.6 KiB
Markdown
123 lines
2.6 KiB
Markdown
# 🗺️ WHITE BACKGROUND VERSION - TILED MAP
|
||
|
||
**Location:** `maps/demo_whitebg/`
|
||
**Map File:** `demo_whitebg.tmx`
|
||
**Assets:** Using `demo_originals_with_white_bg/` folder
|
||
**Status:** ✅ READY!
|
||
|
||
---
|
||
|
||
## 📁 PROJEKT STRUKTURA:
|
||
|
||
```
|
||
maps/demo_whitebg/
|
||
├── demo_whitebg.tmx ✅ Main map (white BG)
|
||
└── tilesets/
|
||
├── terrain_whitebg.tsx ✅ Grass, dirt, tilled soil
|
||
├── crops_whitebg.tsx ✅ Wheat stages 0-4
|
||
└── objects_whitebg.tsx ✅ Tent, campfire, tree, rock
|
||
```
|
||
|
||
---
|
||
|
||
## 🎨 ASSET SOURCES:
|
||
|
||
**All assets from:**
|
||
`assets/images/demo_originals_with_white_bg/`
|
||
|
||
**Folders used:**
|
||
- `/terrain/` - Grass, dirt, tilled soil tiles
|
||
- `/crops/` - Wheat growth stages
|
||
- `/buildings/` - Tent
|
||
- `/environment/` - Campfire, dead tree, rock
|
||
|
||
**Original files:** Backup with WHITE backgrounds (before transparency removal)
|
||
|
||
---
|
||
|
||
## 🗺️ MAP LAYOUT:
|
||
|
||
**Same as transparent version:**
|
||
- 8×8 tiles (512×512 pixels)
|
||
- 7 layers configured
|
||
- Grass terrain base
|
||
- 2×2 tilled soil at (1,1)
|
||
- Tent, campfire, tree, rock placed
|
||
- Kai spawn at (2,5)
|
||
- Zombie spawn at (4,4)
|
||
- Collision boxes ready
|
||
|
||
**Difference:** Tiles have white backgrounds instead of transparency!
|
||
|
||
---
|
||
|
||
## 💡 WHY USE WHITE BACKGROUND VERSION?
|
||
|
||
**Good for:**
|
||
- ✅ Tiled preview (easier to see edges)
|
||
- ✅ Quick mockups without transparency issues
|
||
- ✅ Testing layout without alpha channel
|
||
- ✅ Easier sprite boundary visualization
|
||
|
||
**For production:**
|
||
- Use transparent version (better for overlapping)
|
||
- White BG good for development/testing
|
||
|
||
---
|
||
|
||
## 🔄 BOTH VERSIONS AVAILABLE:
|
||
|
||
### **Version 1: Transparent (Production)**
|
||
- Location: `maps/demo_project/`
|
||
- Assets: `assets/images/demo/` (RGBA transparent)
|
||
- Use for: Final game, overlapping sprites
|
||
|
||
### **Version 2: White BG (Development)** ← YOU ARE HERE
|
||
- Location: `maps/demo_whitebg/`
|
||
- Assets: `assets/images/demo_originals_with_white_bg/`
|
||
- Use for: Testing, quick edits, Tiled work
|
||
|
||
---
|
||
|
||
## 📖 OPEN IN TILED:
|
||
|
||
```bash
|
||
tiled maps/demo_whitebg/demo_whitebg.tmx
|
||
```
|
||
|
||
**Should be OPEN NOW!** ✅
|
||
|
||
---
|
||
|
||
## 📤 EXPORT (if needed):
|
||
|
||
```bash
|
||
# In Tiled:
|
||
File → Export As... → demo_whitebg.json
|
||
```
|
||
|
||
---
|
||
|
||
## ✅ KAJ VIDITE ZDAJ:
|
||
|
||
**V Tiled editor:**
|
||
- Map with white background tiles
|
||
- Easier to see tile boundaries!
|
||
- Same layout as transparent version
|
||
- All objects in same positions
|
||
|
||
**Layers (same as before):**
|
||
1. Base Terrain (grass tiles)
|
||
2. Tilled Soil (2×2 patch)
|
||
3. Crops (empty)
|
||
4. Buildings (tent)
|
||
5. Decorations (campfire, tree, rock)
|
||
6. Spawns (Kai, zombie)
|
||
7. Collision (3 boxes)
|
||
|
||
---
|
||
|
||
**UŽIVAJTE! 🗺️✨**
|
||
|
||
**White backgrounds make it easier to see sprite edges in Tiled!**
|