Files
novafarma/TASKS.md
2025-12-07 13:16:04 +01:00

3.6 KiB

🗺️ Task Map & Roadmap - NovaFarma

🟢 Phase 1: Core Systems (Foundation)

Vzpostavitev temeljev igre, sveta in igralca.

  • Project Setup (Vite, Phaser, Project Structure)
  • Isometric Engine (IsometricUtils, Grid conversion, Depth sorting)
  • Terrain System
    • Perlin Noise Generation (Grass, Dirt, Water)
    • Decoration Placement (Trees, Stones, Bushes)
    • Decoration Rendering (Correct depth, scale, variety)
  • Player Entity
    • Isometric Movement (WASD)
    • Animations (Idle, Walk)
    • Directional Facing (8-way or 4-way)
    • Tool Handling (Visual sword/axe/pickaxe in hand)

🟡 Phase 2: Gameplay Mechanics (Current Focus)

Dodajanje interakcije, boja in ekonomije.

  • Interaction System
    • Mouse Click Interaction (Precise grid selection)
    • Keyboard Interaction ('E' Key for ease of use)
    • Distance Checking (Range limits)
  • NPC System (Zombies)
    • Spawning & Rendering
    • Basic AI (Random Walk, Chase Player)
    • Combat:
      • Player Attack (Spacebar / Click with Weapon)
      • Zombie Health & Damage (Take Damage, Red Flash)
      • Death & Loot Drops (Skeleton/Bone drop)
    • Taming:
      • Interact to Tame (Empty hand / 'E')
      • Visuals (Hearts, Blue Eyes for tamed zombie)
      • Command Logic (Follow/Stay basics)
  • Inventory & UI
    • Inventory UI (Slots, Selection)
    • Crafting Menu ('C' Key)
    • Resource Gathering (Wood from trees, Stone from rocks)
  • Save System
    • LocalStorage Integration
    • Auto-load on start
    • 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