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:
58
FAZA_6_CHECKLIST.md
Normal file
58
FAZA_6_CHECKLIST.md
Normal file
@@ -0,0 +1,58 @@
|
||||
# FAZA 6: Save/Load Sistem - Checklist
|
||||
|
||||
**Status:** ✅ ZAKLJUČENO
|
||||
|
||||
**Datum:** 2025-12-06
|
||||
|
||||
---
|
||||
|
||||
## ✅ Opravila (Developer)
|
||||
|
||||
- [x] Implementacija `SaveSystem.js`:
|
||||
- [x] Metoda `saveGame(scene)`: Pobere podatke in shrani v localStorage.
|
||||
- [x] Metoda `loadGame(scene)`: Prebere podatke in rekonstruira svet.
|
||||
- [x] Serializacija podatkov:
|
||||
- [x] Teren (seed).
|
||||
- [x] Igralec (pozicija X/Y).
|
||||
- [x] NPC-ji (pozicije, tipi).
|
||||
- [x] Kamera (Zoom).
|
||||
- [x] UI za Save/Load:
|
||||
- [x] Tipke F5 (Save) in F9 (Load).
|
||||
- [x] Obvestilo "Game Saved" in "Game Loaded".
|
||||
|
||||
---
|
||||
|
||||
## 🧪 Ročno testiranje (Naročnik)
|
||||
|
||||
### Test 1: Shrani in Ponovni Zagon
|
||||
**Ukaz:** F5 -> Premik -> F9
|
||||
|
||||
**Pričakovani rezultat:**
|
||||
- [x] Igralec skoči nazaj na shranjeno mesto.
|
||||
- [x] Teren ostane enak.
|
||||
- [x] NPC-ji se resetirajo na shranjene pozicije.
|
||||
|
||||
---
|
||||
|
||||
## 📋 Potrditev Naročnika
|
||||
|
||||
```
|
||||
FAZA 6: [STATUS]
|
||||
- Testirano: [DA]
|
||||
- Datum testiranja: 2025-12-06
|
||||
- Opombe: Uporabnik potrdil delovanje.
|
||||
|
||||
ODOBRENO ZA FAZO 7: [DA]
|
||||
|
||||
Podpis naročnika: User
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ➡️ Naslednji koraki (po odobritvi)
|
||||
|
||||
Ko naročnik potrdi FAZO 6, se začne:
|
||||
**FAZA 7: Game Loop & Survival**
|
||||
- Day/Night cikel (sprememba svetlobe).
|
||||
- Padanje statistike (Lakota, Žeja).
|
||||
- Smrt in Respawn.
|
||||
Reference in New Issue
Block a user