podobi
This commit is contained in:
150
TASKS.md
150
TASKS.md
@@ -1,5 +1,75 @@
|
||||
# 🗺️ Task Map & Roadmap - NovaFarma
|
||||
|
||||
## ✅ **PHASE 23: SOUND EFFECTS & AUDIO** (12.12.2025 - COMPLETED!)
|
||||
|
||||
Implementacija zvočnih efektov in audio sistema.
|
||||
|
||||
- [x] **Sound Effects**
|
||||
- [x] Dig sound (till soil) - beepDig()
|
||||
- [x] Plant sound (plant seeds) - beepPlant()
|
||||
- [x] Harvest sound (harvest crops) - beepHarvest()
|
||||
- [x] Build sound (place building) - beepBuild()
|
||||
- [x] UI click sound (building selection) - beepUIClick()
|
||||
- [x] Background music (C Minor Pentatonic)
|
||||
- [x] **Integration**
|
||||
- [x] FarmingSystem.js - tillSoil(), plantSeed(), harvestCrop()
|
||||
- [x] BuildSystem.js - placeBuilding(), selectBuilding()
|
||||
- [x] SoundManager.js - beepUIClick() metoda
|
||||
- [x] **Bug Fixes**
|
||||
- [x] UIScene.js - playSuccess() → beepPickup()
|
||||
|
||||
**Status:** ✅ COMPLETE - All sounds working!
|
||||
|
||||
---
|
||||
|
||||
## ✅ **PHASE 24: NPC SYSTEM & MINIMAP** (12.12.2025 - COMPLETED!)
|
||||
|
||||
Implementacija NPC spawnerja in minimape.
|
||||
|
||||
- [x] **NPC Spawner**
|
||||
- [x] NPCSpawner.js (75 vrstic)
|
||||
- [x] 3 NPCji spawnjani
|
||||
- [x] Random walk AI
|
||||
- [x] Integracija v GameScene
|
||||
- [x] **Minimap**
|
||||
- [x] UIScene.js - createMinimap() (117 vrstic)
|
||||
- [x] 150x150px minimap (spodaj levo)
|
||||
- [x] Terrain rendering
|
||||
- [x] NPC tracking (rdeče pike)
|
||||
- [x] Player tracking (rumena pika)
|
||||
- [x] **Performance Monitor**
|
||||
- [x] PerformanceMonitor.js integriran
|
||||
- [x] F3 toggle
|
||||
- [x] FPS, Memory, Sprite count
|
||||
|
||||
**Status:** ✅ COMPLETE - NPCs and Minimap working!
|
||||
|
||||
---
|
||||
|
||||
## ✅ **PHASE 25: ELECTRON BUILD & DISTRIBUTION** (12.12.2025 - COMPLETED!)
|
||||
|
||||
Build in distribucija igre.
|
||||
|
||||
- [x] **Build Setup**
|
||||
- [x] package.json konfiguracija
|
||||
- [x] electron-packager nameščen
|
||||
- [x] Ikona ustvarjena (build/icon.png)
|
||||
- [x] **Build Process**
|
||||
- [x] Windows build (dist/NovaFarma-win32-x64/)
|
||||
- [x] Build velikost: 225 MB
|
||||
- [x] Build čas: ~30 sekund
|
||||
- [x] **Distribution**
|
||||
- [x] ZIP ustvarjen (NovaFarma-v2.5.0-Windows.zip - 225.35 MB)
|
||||
- [x] README.md napisan
|
||||
- [x] DISTRIBUTION_GUIDE.md napisan
|
||||
- [x] **Bug Fixes**
|
||||
- [x] Kamni collision (solid flag odstranjen)
|
||||
- [x] Testna drevesa dodana (GameScene.js)
|
||||
|
||||
**Status:** ✅ COMPLETE - Ready for distribution!
|
||||
|
||||
---
|
||||
|
||||
## ✅ **PHASE 21.5: ISOMETRIC GAMEPLAY SYSTEMS** (11.12.2025 - COMPLETED!)
|
||||
|
||||
Implementacija core farming in building mehanik za isometric 2.5D gameplay.
|
||||
@@ -35,36 +105,36 @@ Implementacija core farming in building mehanik za isometric 2.5D gameplay.
|
||||
|
||||
---
|
||||
|
||||
## <EFBFBD> **PHASE 22: PLAYER CONTROLS & INTERACTION** (NEXT UP!)
|
||||
## 🎯 **PHASE 22: PLAYER CONTROLS & INTERACTION** (COMPLETE!)
|
||||
|
||||
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)
|
||||
- [x] **Farming Controls Integration**
|
||||
- [x] Space/Click for farm actions (till/plant/harvest)
|
||||
- [x] Tool detection (hoe in hand → till mode)
|
||||
- [x] Seed selection system (use seeds from inventory)
|
||||
- [x] Harvest animation feedback
|
||||
- [x] Sound effects (dig, plant, harvest) ✅ **12.12.2025**
|
||||
- [x] Particle effects (soil spray, seed drop, crop sparkle)
|
||||
- [x] **Build Mode Controls**
|
||||
- [x] B key build mode instructions (tutorial popup)
|
||||
- [x] 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)
|
||||
- [x] **Day/Night Cycle Enhancement**
|
||||
- [x] Better time display (HH:MM format)
|
||||
- [x] Visual sky color transitions
|
||||
- [x] Dynamic lighting (darker at night)
|
||||
- [x] Speed control (1x/2x/5x time slider)
|
||||
- [x] Pause time (for building/planning)
|
||||
- [x] **Resources Display**
|
||||
- [x] Wood counter (top-right)
|
||||
- [x] Stone counter
|
||||
- [x] Iron counter
|
||||
- [x] Animated updates (+5 wood effect)
|
||||
- [x] Resource panel (expandable)
|
||||
- [ ] **Inventory Hotbar**
|
||||
- [ ] Quick-swap tools (Q/E keys)
|
||||
- [ ] Tool durability display
|
||||
@@ -74,14 +144,42 @@ Integracija farming in build sistemov s Player kontrolami.
|
||||
- [ ] Action cooldown indicators
|
||||
- [ ] Stamina system (farming costs energy)
|
||||
- [ ] Tool swing animation
|
||||
- [ ] Camera shake on actions
|
||||
- [x] Camera shake on actions
|
||||
- [ ] Screen flash on harvest
|
||||
|
||||
**Status:** 🔨 IN PLANNING - Controls wireframe needed
|
||||
**Status:** ✅ 85% COMPLETE - Sound effects integrated!
|
||||
|
||||
---
|
||||
|
||||
## <EFBFBD>🟢 Phase 1: Core Systems (Foundation)
|
||||
## 🎵 **PHASE 23: SOUND EFFECTS & AUDIO** (12.12.2025 - COMPLETED!)
|
||||
|
||||
Implementacija zvočnih efektov za boljšo igralno izkušnjo.
|
||||
|
||||
- [x] **Core Sound Effects**
|
||||
- [x] Dig sound (till soil) - Procedural low thud
|
||||
- [x] Plant sound (seed drop) - Soft triangle wave
|
||||
- [x] Harvest sound (crop collect) - Dual-tone melody
|
||||
- [x] Build sound (placement) - Deep square wave
|
||||
- [x] UI click sounds - Pleasant 800Hz sine
|
||||
- [x] **Sound Integration**
|
||||
- [x] FarmingSystem integration (playDig, playPlant, playHarvest)
|
||||
- [x] BuildSystem integration (playBuild, playUIClick)
|
||||
- [x] SoundManager enhancement (beepUIClick method)
|
||||
- [x] **Ambient Music**
|
||||
- [x] Background music (already implemented - C Minor Pentatonic)
|
||||
- [x] Procedural note generation
|
||||
- [x] Rain sound effects
|
||||
|
||||
**Files Modified:**
|
||||
- `src/systems/SoundManager.js` (+18 lines)
|
||||
- `src/systems/FarmingSystem.js` (+15 lines)
|
||||
- `src/systems/BuildSystem.js` (+10 lines)
|
||||
|
||||
**Status:** ✅ COMPLETE - All sounds working!
|
||||
|
||||
---
|
||||
|
||||
## 🟢 Phase 1: Core Systems (Foundation)
|
||||
Vzpostavitev temeljev igre, sveta in igralca.
|
||||
|
||||
- [x] **Project Setup** (Vite, Phaser, Project Structure)
|
||||
|
||||
Reference in New Issue
Block a user