# 🗺️ Task Map & Roadmap - NovaFarma ## 🟢 Phase 1: Core Systems (Foundation) Vzpostavitev temeljev igre, sveta in igralca. - [x] **Project Setup** (Vite, Phaser, Project Structure) - [x] **Isometric Engine** (IsometricUtils, Grid conversion, Depth sorting) - [x] **Terrain System** - [x] Perlin Noise Generation (Grass, Dirt, Water) - [x] Decoration Placement (Trees, Stones, Bushes) - [x] Decoration Rendering (Correct depth, scale, variety) - [x] **Player Entity** - [x] Isometric Movement (WASD) - [x] Animations (Idle, Walk) - [x] Directional Facing (8-way or 4-way) - [x] Tool Handling (Visual sword/axe/pickaxe in hand) ## 🟡 Phase 2: Gameplay Mechanics (Current Focus) Dodajanje interakcije, boja in ekonomije. - [x] **Interaction System** - [x] Mouse Click Interaction (Precise grid selection) - [x] Keyboard Interaction ('E' Key for ease of use) - [x] Distance Checking (Range limits) - [x] **NPC System (Zombies)** - [x] Spawning & Rendering - [x] Basic AI (Random Walk, Chase Player) - [x] **Combat:** - [x] Player Attack (Spacebar / Click with Weapon) - [x] Zombie Health & Damage (Take Damage, Red Flash) - [x] Death & Loot Drops (Skeleton/Bone drop) - [x] **Taming:** - [x] Interact to Tame (Empty hand / 'E') - [x] Visuals (Hearts, Blue Eyes for tamed zombie) - [x] Command Logic (Follow/Stay basics) - [x] **Inventory & UI** - [x] Inventory UI (Slots, Selection) - [x] Crafting Menu ('C' Key) - [x] Resource Gathering (Wood from trees, Stone from rocks) - [x] **Save System** - [x] LocalStorage Integration - [x] Auto-load on start - [x] Manual Save (F5) ## 🔴 Phase 3: Expansion (Next Steps) Razširitev vsebine in izboljšava mehanik. - [ ] **Farming Mechanics** (Polishing) - [ ] Hoeing dirt to farmland - [ ] Planting seeds - [ ] Growth Stages (Time-based growth) - [ ] Harvesting crops - [ ] Watering mechanics - [ ] **Advanced NPC AI** - [ ] Pathfinding (A* or efficient grid traversal) - [ ] Zombie Attacks Player (Player takes damage) - [ ] Tamed Zombie Defense (Attacks enemies) - [ ] Zombie Hordes (Night time events) - [ ] **Economy** - [ ] Merchant NPC (Trading interface) - [ ] Selling crops/items for Gold - [ ] Buying Seeds & Tools - [ ] **Building System** - [ ] Placing Walls/Fences (Snap to grid) - [ ] Crafting Buildings (House, Barn) - [ ] UI for selecting buildings ## 🔵 Phase 4: Polish & Visuals Lepotni popravki in vzdušje. - [ ] **Day/Night Cycle** - [ ] Lighting overlay (Darkness at night) - [ ] Dawn/Dusk transitions - [ ] Night-only Zombie Spawns - [ ] **Audio/SFX** - [ ] Footsteps sounds - [ ] Attack/Hit sounds - [ ] Ambient nature sounds - [ ] Background Music - [ ] **Visual FX** - [ ] Particle effects (Leaves falling, blood particles) - [ ] UI Animations (Smooth inventory opening) - [ ] Weather (Rain, Fog) ## 🟣 Phase 5: Story & Quests (Long Term) Dodajanje globine in ciljev igri. - [ ] **Story Mode** - [ ] Intro Sequence - [ ] Main Questline (Find the Cure / Rebuild the Town) - [ ] **Boss Battles** - [ ] "Zombie King" Boss - [ ] Special Arenas - [ ] **Quest System** - [ ] NPC dialogue tasks ("Bring me 10 Wood") - [ ] Rewards (Rare items, Gold) ## 🟠 Phase 6: Multiplayer & Export Možnost igranja s prijatelji. - [ ] **Local/LAN Multiplayer** - [ ] Syncing Player Positions - [ ] Syncing World State - [ ] **Mobile Support** - [ ] Touch Controls - [ ] Responsive UI - [ ] **Export** - [ ] Desktop App (Electron) - [ ] Android APK --- *Last Updated: 2025-12-07*