FAZA 17: 2.5D Minecraft-Style Terrain + Y-Layer Stacking + Custom Sprites
COMPLETED FEATURES: Custom Sprite Integration: - Player, Zombie, Merchant sprites (0.2 scale) - 11 custom sprites + 5 asset packs loaded - Auto-transparency processing (white/brown removal) - Gravestone system with atlas extraction 2.5D Minecraft-Style Terrain: - Volumetric blocks with 25px thickness - Strong left/right side shading (30%/50% darker) - Minecraft-style texture patterns (grass, dirt, stone) - Crisp black outlines for definition Y-Layer Stacking System: - GRASS_FULL: All green (elevation > 0.7) - GRASS_TOP: Green top + brown sides (elevation 0.4-0.7) - DIRT: All brown (elevation < 0.4) - Dynamic terrain depth based on height Floating Island World Edge: - Stone cliff walls at map borders - 2-tile transition zone - Elevation flattening for cliff drop-off effect - 100x100 world with defined boundaries Performance & Polish: - Canvas renderer for pixel-perfect sharpness - CSS image-rendering: crisp-edges - willReadFrequently optimization - No Canvas2D warnings Technical: - 3D volumetric trees and rocks - Hybrid rendering (2.5D terrain + 2D characters) - Procedural texture generation - Y-layer aware terrain type selection
This commit is contained in:
62
FAZA_14_CHECKLIST.md
Normal file
62
FAZA_14_CHECKLIST.md
Normal file
@@ -0,0 +1,62 @@
|
||||
# FAZA 14: Obnova Mesta (Town Restoration) - Checklist
|
||||
|
||||
**Status:** ✅ ZAKLJUČENO
|
||||
|
||||
**Datum:** 2025-12-06
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Cilj
|
||||
Implementirati sistem "Projektov" za obnovo ruševin. Igralec mora zbrati materiale in jih dostaviti na gradbišče, da popravi hišo in odklene NPC-ja/Trgovino.
|
||||
|
||||
## ✅ Opravila (Developer)
|
||||
|
||||
- [x] **Sistem Ruševin (Ruins System):**
|
||||
- [x] Dodati nov tip strukture: `Ruin` (Ruševina).
|
||||
- [x] Interakcija z ruševino odpre meni "Projekt Obnove".
|
||||
- [x] **UI Projekta:**
|
||||
- [x] Prikaz zahtevanih materialov (npr. 50 Lesa, 20 Kamna).
|
||||
- [x] Gumb "Prispevaj" (Contribute).
|
||||
- [x] **Transformacija:**
|
||||
- [x] Ko je projekt končan -> Ruševina se spremeni v `House` (ali `Smithy`).
|
||||
- [x] Odklene se NPC (Trgovec se pojavi).
|
||||
- [x] **Prvi Quest: Kovačeva Delavnica:**
|
||||
- [x] Postaviti ruševino na mapo (x:55, y:55).
|
||||
- [x] Zahteva: 20 Lesa, 10 Kamna (za testiranje smo dali inventar).
|
||||
|
||||
---
|
||||
|
||||
## 🧪 Ročno testiranje (Naročnik)
|
||||
|
||||
### Test 1: Donacija
|
||||
**Ukaz:** Zberi les/kamen (dobljen v inventar), klikni na ruševino, klikni "Prispevaj".
|
||||
**Rezultat:** Material se odšteje.
|
||||
|
||||
### Test 2: Dokončanje
|
||||
**Ukaz:** Klikni Contribute.
|
||||
**Rezultat:** Ruševina postane lepa hiša. Pojavi se Trgovec.
|
||||
|
||||
---
|
||||
|
||||
## 📋 Potrditev Naročnika
|
||||
|
||||
```
|
||||
FAZA 14: [STATUS]
|
||||
- Testirano: [DA]
|
||||
- Datum testiranja: 2025-12-06
|
||||
- Opombe: Uporabnik potrdil: "da dela"
|
||||
|
||||
ODOBRENO ZA FAZO 15: [DA]
|
||||
|
||||
Podpis naročnika: User
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ➡️ Naslednji koraki
|
||||
|
||||
**FAZA 15: Ekonomija (Economy System)**
|
||||
- Prodaja pridelkov (Wheat -> Gold).
|
||||
- Nakup semen (Gold -> Seeds).
|
||||
- Trgovina UI (Buy/Sell menu).
|
||||
- Nadgradnja orodij (Gold + Resources).
|
||||
Reference in New Issue
Block a user