236 lines
5.4 KiB
Markdown
236 lines
5.4 KiB
Markdown
# 🚀 NASLEDNJI KORAKI - NOVAFARMA
|
|
|
|
**Datum:** 11. December 2025
|
|
**Status:** Po 4-urni coding maraton seji
|
|
**Verzija:** Phase 22 Complete
|
|
|
|
---
|
|
|
|
## ✅ **KAJ JE KONČANO (Today):**
|
|
|
|
### **CORE SYSTEMS:**
|
|
- ✅ FarmingSystem (till/plant/harvest)
|
|
- ✅ BuildSystem (5 fence types + buildings)
|
|
- ✅ Player Controls (Space key farming)
|
|
- ✅ Resources Display (Wood/Stone/Iron)
|
|
- ✅ Time Control (1x/2x/5x + pause)
|
|
- ✅ Parallax Background (clouds + birds)
|
|
|
|
### **VISUAL EFFECTS:**
|
|
- ✅ Main Menu glow + animations
|
|
- ✅ Particle effects (soil/seed/harvest)
|
|
- ✅ Tool swing animation
|
|
- ✅ Camera shake
|
|
- ✅ Ground decorations (26% coverage)
|
|
- ✅ Ultra transparency (21 sprites)
|
|
|
|
---
|
|
|
|
## 🎯 **PRIORITETE ZA NAPREJ:**
|
|
|
|
### **JUTRI (Phase 23):**
|
|
**Estimated Time:** 2-3h
|
|
**STATUS:** ✅ COMPLETE! (12.12.2025)
|
|
|
|
#### **1. SOUND EFFECTS** (Priority: HIGH) ✅
|
|
- [x] Dig sound (till soil)
|
|
- [x] Plant sound (seed drop)
|
|
- [x] Harvest sound (crop collect)
|
|
- [x] Build sound (placement)
|
|
- [x] UI click sounds
|
|
- [x] Ambient background music (already implemented)
|
|
|
|
**Files modified:**
|
|
- `src/systems/SoundManager.js` (+18 lines - UI click sound)
|
|
- `src/systems/FarmingSystem.js` (+15 lines - dig/plant/harvest sounds)
|
|
- `src/systems/BuildSystem.js` (+10 lines - build/UI sounds)
|
|
|
|
#### **2. INVENTORY HOTBAR** (Priority: MEDIUM)
|
|
- [ ] Q/E keys for quick tool swap
|
|
- [ ] Tool durability display
|
|
- [ ] Seed count in hotbar
|
|
- [ ] Equipment preview icon
|
|
|
|
**Files to modify:**
|
|
- `src/scenes/UIScene.js`
|
|
- `src/systems/InventorySystem.js`
|
|
|
|
#### **3. RESOURCE GAIN ANIMATIONS** (Priority: MEDIUM)
|
|
- [ ] Floating "+5 Wood" text
|
|
- [ ] Color-coded gains (green=wood, gray=stone, silver=iron)
|
|
- [ ] Fade-up animation
|
|
|
|
**Files to modify:**
|
|
- `src/scenes/UIScene.js` (updateResourceDisplay method)
|
|
|
|
---
|
|
|
|
### **ČEZ 2-3 DNI (Phase 24):**
|
|
**Estimated Time:** 3-4h
|
|
|
|
#### **4. ADVANCED BUILD MODE**
|
|
- [ ] Rotate building (R key)
|
|
- [ ] Confirm placement (E key) - currently click works
|
|
- [ ] Cancel (ESC key)
|
|
- [ ] Building info tooltip (hover)
|
|
- [ ] Blueprint system (unlock buildings)
|
|
|
|
#### **5. STAMINA SYSTEM**
|
|
- [ ] Stamina bar (next to health)
|
|
- [ ] Farming costs stamina
|
|
- [ ] Auto-regenerate over time
|
|
- [ ] Food restores stamina
|
|
|
|
#### **6. PLAYER ANIMATIONS**
|
|
- [ ] Walk animation polish
|
|
- [ ] Tool swing sprites (not just rotation)
|
|
- [ ] Idle animation variations
|
|
- [ ] Direction-based sprites (8-way)
|
|
|
|
---
|
|
|
|
### **ČEZ TEDEN (Phase 25-26):**
|
|
**Estimated Time:** 5-6h
|
|
|
|
#### **7. CROPS VARIETY**
|
|
- [ ] More crop types (potato, tomato, corn)
|
|
- [ ] Seasonal crops (only grow in certain seasons)
|
|
- [ ] Crop quality system (bronze/silver/gold)
|
|
- [ ] Watering system
|
|
|
|
#### **8. ZOMBIE WORKER AI**
|
|
- [ ] Assign zombie to task (farm/gather/guard)
|
|
- [ ] Pathfinding to work area
|
|
- [ ] Visual task indicators
|
|
- [ ] Fatigue/rest system
|
|
- [ ] XP gain from work
|
|
|
|
#### **9. NPC INTERACTIONS**
|
|
- [ ] Merchant NPC (buy/sell)
|
|
- [ ] Quest giver NPCs
|
|
- [ ] Dialogue system
|
|
- [ ] Gift system (build relationships)
|
|
|
|
---
|
|
|
|
## 🎨 **VISUAL POLISH (Ongoing):**
|
|
|
|
### **Later Enhancements:**
|
|
- [ ] Day/night lighting (dynamic shader)
|
|
- [ ] Weather effects (rain, snow particles)
|
|
- [ ] Shadows for all sprites
|
|
- [ ] Water reflection
|
|
- [ ] Fog effect
|
|
- [ ] Screen transitions (fade in/out)
|
|
|
|
---
|
|
|
|
## 🐛 **KNOWN BUGS TO FIX:**
|
|
|
|
### **Priority: HIGH**
|
|
- [ ] None currently! 🎉
|
|
|
|
### **Priority: MEDIUM**
|
|
- [ ] Bush sprite placeholder (need actual bush asset)
|
|
- [ ] Water animation not looping (timer issue from before)
|
|
|
|
### **Priority: LOW**
|
|
- [ ] Decorations sometimes overlap (rare)
|
|
- [ ] Camera bounds could be tighter
|
|
|
|
---
|
|
|
|
## 📈 **PERFORMANCE GOALS:**
|
|
|
|
### **Current Status:**
|
|
- ✅ 60 FPS on modern PC
|
|
- ✅ No memory leaks
|
|
- ✅ Smooth animations
|
|
|
|
### **To Implement:**
|
|
- [ ] Object pooling for particles
|
|
- [ ] Sprite culling optimization
|
|
- [ ] Chunk loading/unloading
|
|
- [ ] FPS limiter option (30/60/144)
|
|
|
|
---
|
|
|
|
## 💾 **SAVE SYSTEM EXPANSION:**
|
|
|
|
### **Phase 27 (Future):**
|
|
- [ ] Save farming progress
|
|
- [ ] Save placed buildings
|
|
- [ ] Save inventory state
|
|
- [ ] Save zombie worker tasks
|
|
- [ ] Save decorations state
|
|
- [ ] Multiple save slots (3)
|
|
- [ ] Auto-save every 5 minutes
|
|
|
|
---
|
|
|
|
## 🎮 **GAMEPLAY FEATURES (Long-term):**
|
|
|
|
### **Phase 28-30:**
|
|
- [ ] Combat system refinement
|
|
- [ ] Boss encounters
|
|
- [ ] Dungeon exploration
|
|
- [ ] Crafting system expansion
|
|
- [ ] Trading system
|
|
- [ ] Multiplayer (co-op)
|
|
|
|
---
|
|
|
|
## 📱 **PLATFORM EXPANSION:**
|
|
|
|
### **Phase 31+:**
|
|
- [ ] Mobile controls (virtual joystick)
|
|
- [ ] Touch-optimized UI
|
|
- [ ] Controller support (Xbox/PS)
|
|
- [ ] Steam Deck optimization
|
|
- [ ] Electron packaging (.exe)
|
|
|
|
---
|
|
|
|
## 🏆 **MILESTONES:**
|
|
|
|
### **Completed:**
|
|
- ✅ Phase 0: Project Setup
|
|
- ✅ Phase 1: Terrain Generation
|
|
- ✅ Phase 2: Player & NPCs
|
|
- ✅ Phase 21.5: Isometric Systems
|
|
- ✅ Phase 22: Player Controls (80%)
|
|
|
|
### **In Progress:**
|
|
- ⏳ Phase 22: Player Controls (20% remaining)
|
|
|
|
### **Next Up:**
|
|
- 🎯 Phase 23: Sound & Polish
|
|
- 🎯 Phase 24: Advanced Building
|
|
- 🎯 Phase 25: Gameplay Expansion
|
|
|
|
---
|
|
|
|
## 📝 **NOTES:**
|
|
|
|
**What's working GREAT:**
|
|
- Farming feels satisfying (particles + shake)
|
|
- Build mode is intuitive
|
|
- Time control is fun
|
|
- Parallax adds life
|
|
|
|
**What needs work:**
|
|
- Sounds! (silent game feels empty)
|
|
- More crop variety
|
|
- Zombie AI needs polish
|
|
|
|
**Technical debt:**
|
|
- Some code could be refactored (BuildSystem is getting big)
|
|
- Need to implement proper event system
|
|
- Consider state machine for player
|
|
|
|
---
|
|
|
|
**READY FOR NEXT SESSION! 🚀**
|
|
|
|
*Updated: 11.12.2025 - 19:45*
|