Files
novafarma/docs/planning/NEXT_STEPS.md
2025-12-12 13:48:49 +01:00

268 lines
6.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 🚀 NASLEDNJI KORAKI - NOVAFARMA
**Datum:** 12. December 2025
**Status:** Localization Complete ✅
**Verzija:** Phase 13 - Translations 100%
---
## ✅ **KAJ JE KONČANO (12.12.2025):**
### **🌍 LOCALIZATION COMPLETE:**
-**German (Deutsch)** - 100% Complete (25 translation keys)
-**Italian (Italiano)** - 100% Complete (25 translation keys)
-**Chinese (中文)** - 100% Complete (25 translation keys)
-**Slovenian (Slovenščina)** - 100% Complete (25 translation keys)
-**English** - 100% Complete (25 translation keys)
- ✅ Full parity across all languages
- ✅ All UI elements, items, actions, seasons, messages translated
- ✅ UI bars (HP, HUN, H2O, XP, LV) fully localized
- ✅ Real-time language switching with UI refresh
- ✅ Created `TRANSLATION_TESTING.md` guide
**Files modified:**
- `src/systems/LocalizationSystem.js` (+25 translation keys)
- `src/scenes/UIScene.js` (+refreshUIBars() method, i18n integration)
- `CHANGELOG.md` (updated session entry)
- `TRANSLATION_TESTING.md` (new file)
- `NEXT_STEPS.md` (updated status)
**Translation Coverage:**
- UI: 12 keys (inventory, crafting, health, hunger, oxygen, day, season, hp, hun, h2o, xp, lv)
- Items: 5 keys (wood, stone, seeds, wheat, corn)
- Actions: 4 keys (plant, harvest, craft, build)
- Seasons: 4 keys (spring, summer, autumn, winter)
- Messages: 3 keys (demo_end, freezing, overheating)
**Total:** 25 keys × 5 languages = 125 translations ✅
---
## ✅ **KAJ JE KONČANO (11.12.2025):**
### **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*