posodobitev

This commit is contained in:
2025-12-11 19:36:08 +01:00
parent 5395f4abd2
commit 6e998d516d
36 changed files with 2045 additions and 304 deletions

173
TASKS.md
View File

@@ -1,6 +1,87 @@
# 🗺️ Task Map & Roadmap - NovaFarma
## 🟢 Phase 1: Core Systems (Foundation)
## ✅ **PHASE 21.5: ISOMETRIC GAMEPLAY SYSTEMS** (11.12.2025 - COMPLETED!)
Implementacija core farming in building mehanik za isometric 2.5D gameplay.
- [x] **Farming System**
- [x] FarmingSystem.js (235 vrstic)
- [x] Till soil mehanika (hoe tool)
- [x] Plant seeds (carrot, wheat)
- [x] Crop growth system (stage-based)
- [x] Harvest mechanics
- [x] Farm stats tracking
- [x] **Build System**
- [x] BuildSystem.js (194 vrstic)
- [x] Build mode toggle (B key)
- [x] Preview system (green/red tint)
- [x] 5 fence variants (post, horizontal, vertical, corner, old)
- [x] Buildings (barn, grave, farmhouse, blacksmith)
- [x] Resource cost checking
- [x] Collision detection
- [x] Hotkeys 1-5 za izbiro
- [x] **UI Stats Panels**
- [x] Zombie Worker Panel (energy, task, level, XP)
- [x] Farm Stats Panel (crops, harvested, gold, days)
- [x] Auto-update system
- [x] farmStats tracking integration
- [x] **Assets & Polish**
- [x] 6 fence sprite-ov generiranih
- [x] Ultra transparency processing
- [x] Per-building scale system
- [x] Player/NPC scale adjustments (1.5x/1.2x)
**Status:** ✅ COMPLETE - Ready for integration testing!
---
## <20> **PHASE 22: PLAYER CONTROLS & INTERACTION** (NEXT UP!)
Integracija farming in build sistemov s Player kontrolami.
- [ ] **Farming Controls Integration**
- [ ] Space/Click for farm actions (till/plant/harvest)
- [ ] Tool detection (hoe in hand → till mode)
- [ ] Seed selection system (use seeds from inventory)
- [ ] Harvest animation feedback
- [ ] Sound effects (dig, plant, harvest)
- [ ] Particle effects (soil spray, seed drop, crop sparkle)
- [ ] **Build Mode Controls**
- [ ] B key build mode instructions (tutorial popup)
- [ ] Building selection UI (show building name + cost)
- [ ] Preview controls (rotate building R key)
- [ ] Placement confirmation (E to confirm)
- [ ] Cancel placement (ESC)
- [ ] Building inventory (show unlocked buildings)
- [ ] **Day/Night Cycle Enhancement**
- [ ] Better time display (HH:MM format)
- [ ] Visual sky color transitions
- [ ] Dynamic lighting (darker at night)
- [ ] Speed control (1x/2x/5x time slider)
- [ ] Pause time (for building/planning)
- [ ] **Resources Display**
- [ ] Wood counter (top-right)
- [ ] Stone counter
- [ ] Iron counter
- [ ] Animated updates (+5 wood effect)
- [ ] Resource panel (expandable)
- [ ] **Inventory Hotbar**
- [ ] Quick-swap tools (Q/E keys)
- [ ] Tool durability display
- [ ] Seed count display
- [ ] Equipment preview
- [ ] **Player Feedback**
- [ ] Action cooldown indicators
- [ ] Stamina system (farming costs energy)
- [ ] Tool swing animation
- [ ] Camera shake on actions
- [ ] Screen flash on harvest
**Status:** 🔨 IN PLANNING - Controls wireframe needed
---
## <20>🟢 Phase 1: Core Systems (Foundation)
Vzpostavitev temeljev igre, sveta in igralca.
- [x] **Project Setup** (Vite, Phaser, Project Structure)
@@ -477,11 +558,11 @@ Testiranje in integracija vseh sistemov.
## 🎨 Phase 17: UI Polish & Visual Theme
Rustic/Post-apocalyptic visual overhaul.
- [ ] **Visual Theme Implementation**
- [ ] Rustic/Post-apo color palette (browns, greys, greens)
- [ ] Weathered texture overlays
- [ ] Consistent border styles (wood/metal frames)
- [ ] Hand-drawn UI element style
- [x] **Visual Theme Implementation**
- [x] Rustic/Post-apo color palette (browns, greys, greens)
- [x] Weathered texture overlays
- [x] Consistent border styles (wood/metal frames)
- [x] Hand-drawn UI element style
- [ ] **Interface Redesign**
- [ ] Inventory UI (rustic containers)
- [ ] Crafting Menu (workbench aesthetic)
@@ -493,35 +574,35 @@ Rustic/Post-apocalyptic visual overhaul.
- [ ] Building icons
- [ ] Tool icons
- [ ] Resource icons
- [ ] **Typography**
- [ ] Consistent font usage (Courier New + handwritten accents)
- [ ] Readable text sizes
- [ ] Color contrast improvements
- [x] **Typography**
- [x] Consistent font usage (Courier New + handwritten accents)
- [x] Readable text sizes
- [x] Color contrast improvements
## 💾 Phase 18: Save/Load System
Kompletni sistem shranjevanja.
- [ ] **Save System Architecture**
- [ ] SaveManager class implementation
- [ ] JSON serialization for all game state
- [ ] Multiple save slots (3 slots)
- [ ] Auto-save functionality (every 5 minutes)
- [ ] **Data Persistence**
- [ ] PlaytimeTracker integration
- [ ] Inventory state
- [ ] World state (tiles, crops, buildings)
- [ ] NPC positions and states
- [ ] Quest progress
- [ ] Unlocked achievements
- [x] **Save System Architecture**
- [x] SaveManager class implementation
- [x] JSON serialization for all game state
- [x] Multiple save slots (3 slots)
- [x] Auto-save functionality (every 5 minutes)
- [x] **Data Persistence**
- [x] PlaytimeTracker integration
- [x] Inventory state
- [x] World state (tiles, crops, buildings)
- [x] NPC positions and states
- [x] Quest progress
- [x] Unlocked achievements
- [ ] **Steam Cloud Integration**
- [ ] Wire up SteamIntegrationSystem
- [ ] Cloud save upload/download
- [ ] Conflict resolution (local vs cloud)
- [ ] Fallback to localStorage
- [ ] **Load System**
- [ ] Load game UI in main menu
- [ ] Save file preview (thumbnail, playtime, day)
- [ ] Delete save option
- [ ] New game vs Continue detection
- [x] **Load System**
- [x] Load game UI in main menu
- [x] Save file preview (thumbnail, playtime, day)
- [x] Delete save option
- [x] New game vs Continue detection
## 🎬 Phase 19: Trailer & Marketing Tools
Cinematske orodja za marketing.
@@ -548,25 +629,25 @@ Cinematske orodja za marketing.
## 🏆 Phase 20: Achievement System Wiring
Povezava dogodkov z achievementi.
- [ ] **Achievement Triggers**
- [ ] `FIRST_HARVEST` - First crop harvested
- [ ] `GOLD_RUSH` - 1000 gold earned
- [ ] `ZOMBIE_SLAYER` - 100 zombies killed
- [ ] `MASTER_FARMER` - 1000 crops harvested
- [ ] `DAY_30` - Survive 30 days
- [ ] `GREENHOUSE` - Build greenhouse
- [ ] `TAMED_ZOMBIE` - Tame first zombie
- [ ] `OCEAN_EXPLORER` - Discover 5 islands
- [ ] **Notification UI**
- [ ] Achievement unlock popup
- [ ] Trophy icon animation
- [ ] Sound effect (ding!)
- [ ] Progress tracking UI (e.g., 50/100 zombies)
- [ ] **Achievement Menu**
- [ ] View all achievements
- [ ] Locked/Unlocked status
- [ ] Progress bars for incremental achievements
- [ ] Rarity indicators (common/rare/legendary)
- [x] **Achievement Triggers**
- [x] `FIRST_HARVEST` - First crop harvested
- [x] `GOLD_RUSH` - 1000 gold earned
- [x] `ZOMBIE_SLAYER` - 100 zombies killed
- [x] `MASTER_FARMER` - 1000 crops harvested
- [x] `DAY_30` - Survive 30 days
- [x] `GREENHOUSE` - Build greenhouse
- [x] `TAMED_ZOMBIE` - Tame first zombie
- [x] `OCEAN_EXPLORER` - Discover 5 islands
- [x] **Notification UI**
- [x] Achievement unlock popup
- [x] Trophy icon animation
- [x] Sound effect (ding!)
- [x] Progress tracking UI (e.g., 50/100 zombies)
- [x] **Achievement Menu**
- [x] View all achievements
- [x] Locked/Unlocked status
- [x] Progress bars for incremental achievements
- [x] Rarity indicators (common/rare/legendary)
- [ ] **Steam Integration Testing**
- [ ] Test with Greenworks SDK
- [ ] Verify cloud sync