10 KiB
10 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 (Procedural Rain)
- Background Music
- Visual FX
- Particle effects (Leaves falling, blood particles)
- UI Animations (Smooth inventory opening)
- Weather (Rain, Fog)
🟣 Phase 5: Story & Quests
Dodajanje globine in ciljev igri.
- Story Mode
- Intro Sequence
- Main Questline
- Boss Battles
- "Zombie King" Boss
- Special Arenas
- Quest System
- NPC dialogue interaction
- Rewards & Notifications
🟠 Phase 6: Multiplayer & Export
Možnost igranja s prijatelji.
- Local/LAN Multiplayer
- Syncing Player Positions
- Visual Indicators
- Mobile Support
- Virtual Joystick
- Responsive Design
- Export
- Desktop (Electron)
- Android (Capacitor Guide)
⚪ Phase 7: World Structure (New Direction)
Strukturiranje sveta s fiksnimi lokacijami za boljši gameplay flow.
- Zone Definition
- Define Constants (FARM @ 20,20; CITY @ 65,65)
- Implement Terrain Overrides (Dirt for Farm, Pavement for City)
- City Content
- Generate Ruins (Walls, Rubble, Rooms)
- High-Level Zombie Spawners
- Better Loot tables in City
- Farm Content
- Safe Zone Logic (Night Spawns prevented near Farm)
- Starter Resources (Chest with seeds!)
- Navigation
- Add Signposts or Roads connecting areas
- Pathfinding System
- Web Worker Integration (Async processing)
- A* Algorithm Implementation
- Integration with NPCs
- Asset Optimization
- Loading Screen (Visual Progress Bar)
- Transparent Sprite Processing
- Custom Asset Integration (Rocks, Trees)
- Asset Scaling Fixes
🟢 Phase 8: Gameplay Loop & Content
Fokus na igralnost, loot in napredovanje.
- City Content
- Unique Loot in Ruins (Scrap metal, Chips)
- Elite Zombies in City
- Combat Polish
- Visual Feedback on Hit (White flash)
- Knockback effect
- World Details
- Roads connecting Farm and City
- Signposts
🧬 Phase 9: Antigravity Transformation (Design Overhaul)
Implementacija arhitekturnih stebrov po zgledu Stardew Valley.
- Core Engine Setup (
Antigravity.js)- Global Namespace & Config
- Centralized Update Loop
- Rendering Pipeline
- NEAREST Filter enforce
- Tile Padding/Extrude (No bleeding)
- Pixel-Perfect Math.round positioning
- UI/Drawing Integration: Združitev UI/Drawing modulov za enoten API.
- Depth Sorting v2.0
- Y-Sorting za vse entitete
- Concept Integration
- Poenotenje vseh sistemov pod
Antigravitynamespace (Future Refactor)
- Poenotenje vseh sistemov pod
🌈 Phase 10: Visual Overhaul & Realism (Current)
Ekskluzivni vizualni popravki za potopitveno izkušnjo.
- Realistic Tools (3D Voxel): Sekira, Kramp, Motika, Meč, Zalivalka (v celoti proceduralno generirano).
- Realistic Crops:
- Pšenica (4 faze, zlati snopi).
- Koruza (Visoka rast, 4 faze, regeneracija).
- Inventory Icons Update: Unikatne ikone za semena in pridelke namesto generičnih krogov.
- Sound Fixes: Implementacija manjkajočih zvokov (npr.
playDig). - Advanced World Details:
- Boljša voda (animacija).
- Več dekoracij (ograje, poti).
🧟 Phase 11: Zombie Roots Integration (New Mechanics)
Implementacija jedrnih mehanik iz novega koncepta "Krvava Žetev".
- Zombie Worker AI
WORK_FARM: Zombi avtomatsko zaliva/žanje v določenem radiusu.WORK_MINE: Zombi koplje kamenje/rudo.- Decay System: Zombi s časom izgublja energijo/HP.
- Death Drop: Gnojilo (Fertilizer) + XP ob smrti.
- Grave System
- Izdelava Groba (Crafting).
- Počitek: Zombi v grobu se regenerira (počasneje razpada).
- Expansion System (Micro Farm start)
- Zaklepanje con (megla/neprehodno).
- Naloga: "Pošlji zombije očistit cono".
- Hybrid Skill & Language
- Skill Tree UI za Hibrida.
- Prevajalnik dialogov (Level 1: "...hggh", Level 10: "Nevarnost!").
- Economy: Minting & Crafting
- Blueprint System: Drop chance pri kopanju (
unlockRecipe(id)). - Workstation Logic:
- Workbench (Crafting UI v2.0).
- Furnace (Input slot -> Fuel -> Output slot timer).
- Talilnica (Furnace) za rudo -> palice.
- Kovnica (Mint) za palice -> zlatniki.
- Blueprint System: Drop chance pri kopanju (
- Building Expansion
- Barn: Objekt za shranjevanje živali.
- Silos: Objekt za shranjevanje hrane (poveča kapaciteto).
- Starter House: Nadgradnje (Level 1 -> Level 2 dodata prostor).
- Collection Album (Zbirateljstvo)
- UI Knjiga (z nalepkami/slikami).
- Tracking System: Odklepanje vnosov ob pobiranju itemov.
- Arheologija: Naključna možnost za najdbo Artefakta pri kopanju zemlje.
- World Events & Entities
- Nočna Sova: Dostava Quest Itemov/Daril (vezano na Friendship system).
- Netopirji: Vizualni efekt (roji) za napoved eventov.
- Mutanti: Troli in Vilinci (AI + Spawn Logic).
- Živali: Mutirane (npr. krave) in Normalne živali.
🧬 Phase 12: Exploration & Legacy (Endgame)
- Livestock System
- Hlev za živali.
- Loot Tables: Normalno vs. Mutirano (Mleko vs. Svetleče Mleko).
- Ocean System
- Potapljanje (animacija, kisik bar).
- Čoln (Vehicle controller).
- Generacija Otokov (Island Nodes).
- Legacy System (Generacije)
- Age Counter (Leta/Letni časi).
- Marriage Logic + Child Spawn.
- Inheritance: Prenos inventarja/farme na novega lika ob smrti.
- Fractions
- Reputation System za Mutante (Dobri/Zlobni).
🌡️ Phase 13: Elements & Survival (Hardcore)
- Weather System v2.0
- Letni Časi: Zima (Sneg, Mraz), Poletje (Vročina, Suša).
- Temperature Logic: Če
Temp < 0in nimašWinterCoat-> HP pada. - Rastlinjak (Greenhouse): Crafting Stekla (Mivka + Peč). Omogoča rast pozimi.
- Localization & Platforms
- JSON prevodi (SLO, EN, DE, IT, CN).
- Language Selector v meniju.
- Steam Integration: Achievements & Cloud Save.
- Entities & Items
- Playtime Tracker: Beleženje ur igranja (Persistent Stats).
- Osel (Donkey): Jahanje in Inventory.
- Jablana (Apple Tree): Trajnica, daje pridelek jeseni.
- Seasonal Crops: Logika rasti (Spring/Summer/Autumn only).
- Starter Chest: Naključen loot ob New Game (Seed based).
- Bone Tools: Crafting z receptom
Bone + Wood. - Gems: Diamond/Emerald kot rare drop (za prodajo).
🎬 Phase 14: Kickstarter Prep (Vertical Slice)
Priprava poliranega dema za javnost.
- Demo Mode: Omejitev igranja na 3 in-game dneve.
- UI Polish: Zamenjava placeholder UI z "Rustikalnim/Post-apo" stilom.
- Trailer Tools: Skripta za gladko premikanje kamere (za snemanje).
- Visual Polish: Dodajanje "Juice" efektov (Particles, Screenshake, Lighting).
PROJECT STATUS: PLANNING COMPLETE SAGA 🌍 Last Updated: 8.12.2025