# 🎯 TASKS - 1.1.2026 (SREČNO NOVO LETO!) **Datum**: 1.1.2026 **Status**: API Kvota RESET @ 01:00 CET βœ… **Cilj**: Masovna produkcija asset-ov + System Integration --- ## πŸš€ PRIORITETA 1: ASSET GENERATION (GLAVNA PRIORITETA!) ### βœ… Status Check - [x] Dino Valley fauna (32/32 PNG) - **COMPLETE!** βœ… - [x] API kvota reset - **READY!** βœ… - [x] Scripts pripravΔΌjeni - **READY!** βœ… ### 🎨 Task 1.1: Generate Anomalous Zone Fauna (96 PNG) **Čas**: 90 min **Prioriteta**: πŸ”₯ CRITICAL **Script**: `scripts/generate_anomalous_fauna.py` **8 Zon za generirati**: 1. Mythical Highlands (12 PNG) - unicorns, dragons, griffins 2. Endless Forest (12 PNG) - bigfoot, wendigo, forest spirits 3. Loch Ness (12 PNG) - Nessie, leprechauns, kelpies 4. Egyptian Desert (12 PNG) - mummies, scarabs, anubis 5. Amazonas (12 PNG) - jaguars, anacondas, piranhas 6. Atlantis (12 PNG) - mermaids, sea serpents, dolphins 7. Chernobyl (12 PNG) - radioactive mutants, troll king 8. Catacombs (12 PNG) - skeletons, ghosts, lich **Action**: ```bash cd /Users/davidkotnik/repos/novafarma python scripts/generate_anomalous_fauna.py ``` **Checklist**: - [ ] PoΕΎeni script - [ ] Preveri da vse slike generira (96 PNG) - [ ] Run background removal - [ ] Preveri kvaliteto - [ ] Commit to git --- ### πŸ‘€ Task 1.2: Generate Character Animations (120 PNG) **Čas**: 2h **Prioriteta**: πŸ”₯ CRITICAL **Script**: `scripts/generate_character_animations.py` **Characters**: - Kai (40 PNG) - walk cycle 8-way, idle, attack, dig, plant - Ana (40 PNG) - walk cycle 8-way, idle, research, heal - Gronk (40 PNG) - walk cycle 8-way, idle, vape, smash **Action**: ```bash cd /Users/davidkotnik/repos/novafarma python scripts/generate_character_animations.py ``` **Checklist**: - [ ] PoΕΎeni script - [ ] Preveri animacije (smooth transitions) - [ ] Background removal batch - [ ] Organize v `assets/slike/kai/`, `ana/`, `gronk/` - [ ] Commit to git --- ### 🌍 Task 1.3: Complete 2-3 Biome Asset Packs (Optional) **Čas**: 3-4h **Prioriteta**: πŸ”Ά HIGH **Script**: Adapt existing scripts **Priority Biomes**: 1. **Mexican Cenotes** - axolotls, cave crystals, mayan gear 2. **Witch Forest** - witches, potions, dark magic items 3. **Mythical Highlands** - expand from fauna task **Per Biome** (~100 PNG each): - Fauna (12) - from Task 1.1 - Clothing (15) - theme-specific outfits - Weapons (10) - unique to biome - Food (10) - regional cuisine - Materials (15) - crafting resources - Terrain (10) - ground tiles - Vegetation (15) - plants/trees - Props (10) - decorations - Buildings (3) - structures **Checklist**: - [ ] Choose 2-3 biomes - [ ] Create/adapt generation script - [ ] Generate all assets - [ ] Background removal - [ ] Organize v `assets/slike/[biome_name]/` - [ ] Commit to git --- ### 🎯 Task 1.4: Background Removal Batch Processing **Čas**: 30 min **Prioriteta**: πŸ”Ά HIGH **Script**: `scripts/remove_bg_advanced.py` **Action**: ```bash cd /Users/davidkotnik/repos/novafarma python scripts/remove_bg_advanced.py ``` **Checklist**: - [ ] Run na vse novo generirane PNG - [ ] Preveri alpha channels - [ ] Resize na game-ready dimensions - [ ] Create previews --- ## πŸ”§ PRIORITETA 2: SYSTEM INTEGRATION ### πŸ§ͺ Task 2.1: Basic Smoke Test **Čas**: 10 min **Prioriteta**: πŸ”₯ CRITICAL (FIRST!) **File**: Trenutna igra **Test Checklist**: - [ ] Odpri igro (npm start) - [ ] Preveri Console za errors - [ ] Player spawna? - [ ] WASD movement dela? - [ ] Inventory (I key) dela? - [ ] Crafting (C key) dela? - [ ] Save system (F5) dela? **Če vse dela β†’ nadaljuj Task 2.2** **Če NE dela β†’ FIX najprej!** --- ### βš™οΈ Task 2.2: Initialize New Systems in GameScene **Čas**: 1h **Prioriteta**: πŸ”₯ CRITICAL **File**: `src/scenes/GameScene.js` **Action**: Dodaj v `create()` function (po line ~800): ```javascript // ======================================================== // πŸ†• NEW SYSTEMS (P16-P30) - 1.1.2026 // ======================================================== console.log('πŸ†• Initializing New Systems (P16-P30)...'); // P16: Mining System console.log('⛏️ Initializing Mining System...'); this.miningSystem = new MiningSystem(this); // P17: Character Customization console.log('πŸ‘€ Initializing Character Customization...'); this.characterCustomization = new CharacterCustomizationSystem(this); // P19: Town Restoration console.log('🏘️ Initializing Town Restoration...'); this.townRestoration = new TownRestorationSystem(this); // P20: Portal Repair console.log('πŸŒ€ Initializing Portal Repair...'); this.portalRepair = new PortalRepairSystem(this); // P22: Smart Zombies console.log('🧠 Initializing Smart Zombies...'); this.smartZombies = new SmartZombieSystem(this); // P23: Tool System console.log('πŸ”§ Initializing Tool System...'); this.toolSystem = new ToolSystem(this); // P25: Ana's Clues console.log('πŸ’œ Initializing Ana Clues...'); this.anaClues = new AnaClueSystem(this); // P26: Pyramids console.log('🏜️ Initializing Pyramid System...'); this.pyramids = new PyramidSystem(this); // P27: Slimes & Dogs console.log('🟒🐢 Initializing Slimes & Dogs...'); this.slimesDogs = new SlimesDogsSystem(this); // P28: Animals & Seeds console.log('πŸ„πŸŒ± Initializing Animals & Seeds...'); this.animalsSeeds = new AnimalsSeedsSystem(this); // P29: Automation console.log('βš™οΈ Initializing Automation...'); this.automation = new AutomationSystem(this); // P30: Inventory Expanded console.log('πŸŽ’ Initializing Inventory Expansion...'); this.inventoryExpanded = new InventorySystemExpanded(this, this.inventorySystem); console.log('βœ… All New Systems Initialized!'); ``` **Checklist**: - [ ] Odpri `src/scenes/GameScene.js` - [ ] Najdi `create()` function - [ ] Dodaj kodo - [ ] Shrani - [ ] Test reload (preveri Console za "βœ… All New Systems Initialized!") --- ### πŸ”„ Task 2.3: Add System Updates to update() Loop **Čas**: 30 min **Prioriteta**: πŸ”₯ CRITICAL **File**: `src/scenes/GameScene.js` **Action**: Dodaj v `update(time, delta)` function: ```javascript update(time, delta) { // ... existing update code ... // πŸ†• NEW: Daily automation if (this.automation) { const currentDay = Math.floor(time / 86400000); // ms to days if (currentDay !== this.lastDay) { this.automation.runDailyAutomation(); this.lastDay = currentDay; } } // πŸ†• NEW: Animal updates if (this.animalsSeeds) { this.animalsSeeds.updateLivestock(); } // πŸ†• NEW: Smart zombie updates if (this.smartZombies) { this.smartZombies.updateZombies(delta); } // πŸ†• NEW: Town construction if (this.townRestoration) { this.townRestoration.updateConstruction(delta); } // πŸ†• NEW: Portal construction if (this.portalRepair) { this.portalRepair.updateConstruction(delta); } } ``` **Checklist**: - [ ] Najdi `update(time, delta)` function - [ ] Dodaj kodo - [ ] Shrani - [ ] Test: preveri da sistemi tečejo (Console logs) --- ### πŸ”— Task 2.4: Connect System Communications **Čas**: 1h **Prioriteta**: πŸ”Ά HIGH **File**: `src/scenes/GameScene.js` **Action**: Dodaj v `create()` function (PO inicializaciji sistemov): ```javascript // ======================================================== // πŸ”— SYSTEM CONNECTIONS // ======================================================== console.log('πŸ”— Connecting Systems...'); // A. SmartZombies ↔ ZombieSystem if (this.smartZombies && this.zombieSystem) { this.smartZombies.baseZombieSystem = this.zombieSystem; } // B. ToolSystem ↔ InventorySystem if (this.toolSystem && this.inventorySystem) { this.toolSystem.inventorySystem = this.inventorySystem; } // C. AnaClues ↔ TwinBondSystem if (this.anaClues && this.twinBondSystem) { this.anaClues.onClueFound = (clueId) => { this.twinBondSystem.triggerMemory(clueId); }; } // D. Automation ↔ Multiple Systems if (this.automation) { this.automation.farmingSystem = this.farmingSystem; this.automation.smartZombies = this.smartZombies; this.automation.inventoryExpanded = this.inventoryExpanded; } console.log('βœ… Systems Connected!'); ``` **Checklist**: - [ ] Dodaj kodo - [ ] Shrani - [ ] Test: preveri da sistemi komunicirajo --- ### πŸ§ͺ Task 2.5: Full Integration Test **Čas**: 30 min **Prioriteta**: πŸ”Ά HIGH **Test Checklist**: - [ ] Igra se zaΕΎene brez napak - [ ] Vsi 46 sistemov inicializirani (Console check) - [ ] Player movement dela - [ ] Inventory dela - [ ] Crafting dela - [ ] Mining works (zberi resource) - [ ] Tool durability dela - [ ] Save/Load dela - [ ] No memory leaks (check after 5 min gameplay) - [ ] 60 FPS maintained --- ## 🎨 PRIORITETA 3: UI CREATION (OPTIONAL) ### πŸ‘€ Task 3.1: Character Creation Scene (Critical) **Čas**: 2h **Prioriteta**: πŸ”Ά HIGH **File**: `src/scenes/CharacterCreationScene.js` (CREATE NEW) **Features Needed**: - Gender selection (Kai/Ana radio buttons) - Hair color picker (RGB sliders) - Body customization (sliders) - Outfit selection (grid of icons) - Preview window (live update) - "Start Game" button **Checklist**: - [ ] Create file - [ ] Implement UI layout - [ ] Wire up to CharacterCustomizationSystem - [ ] Add to index.html - [ ] Test flow (creation β†’ game start) --- ### 🧟 Task 3.2: Smart Zombie Command UI **Čas**: 1h **Prioriteta**: πŸ”· MEDIUM **File**: `src/ui/SmartZombieUI.js` (CREATE NEW) **Features Needed**: - Zombie list (scrollable) - Command buttons: Stop, Help, Attack, Home - Follower count display - XP/Level display per zombie **Checklist**: - [ ] Create file - [ ] Implement UI - [ ] Wire up to SmartZombieSystem - [ ] Add to index.html - [ ] Test commands --- ### πŸ’œ Task 3.3: Ana's Clue Collection UI **Čas**: 1h **Prioriteta**: πŸ”· MEDIUM **File**: `src/ui/AnaClueUI.js` (CREATE NEW) **Features Needed**: - Progress tracker (15/12/23 clues) - Gallery view (grid of clues) - Story milestone indicators - Clue descriptions on hover/click **Checklist**: - [ ] Create file - [ ] Implement gallery layout - [ ] Wire up to AnaClueSystem - [ ] Add to index.html - [ ] Test clue discovery flow --- ### πŸŽ’ Task 3.4: Inventory Upgrade UI **Čas**: 45 min **Prioriteta**: πŸ”· MEDIUM **File**: `src/ui/InventoryUpgradeUI.js` (CREATE NEW) **Features Needed**: - Tier upgrade menu (Tier 1 β†’ Tier 5) - Tool Belt unlock button - Dog Backpack unlock button - Quick Sort/Stack/Deposit buttons **Checklist**: - [ ] Create file - [ ] Implement upgrade interface - [ ] Wire up to InventorySystemExpanded - [ ] Add to index.html - [ ] Test upgrades --- ## πŸ—ΊοΈ PRIORITETA 4: TILED MAPS (OPTIONAL) ### πŸ“₯ Task 4.1: Import Tilesets to Tiled **Čas**: 15 min **Prioriteta**: πŸ”· MEDIUM **Action**: 1. Odpri Tiled Map Editor 2. Map β†’ Add External Tileset 3. Browse β†’ `assets/tilesets/*.tsx` 4. Import vseh 61 TSX files **Checklist**: - [ ] Tiled installed - [ ] Import all TSX - [ ] Preview tilesets (check visibility) --- ### πŸ—ΊοΈ Task 4.2: Create Starter Map (16x16) **Čas**: 30 min **Prioriteta**: πŸ”· MEDIUM **Action**: 1. New Map β†’ 16x16 tiles, 32x32 tile size 2. Add layers: - Ground (base terrain) - Decoration (trees, rocks) - Collision (invisible) - Objects (player spawn point) 3. Paint basic starter area 4. Add player spawn object (x:8, y:8) 5. Save as `starter_farm_16x16.tmx` **Checklist**: - [ ] Create map - [ ] Add layers - [ ] Paint terrain - [ ] Add spawn point - [ ] Save TMX --- ### πŸ“€ Task 4.3: Export Map to JSON **Čas**: 5 min **Prioriteta**: πŸ”· MEDIUM **Action**: 1. File β†’ Export As β†’ JSON 2. Save v `assets/maps/starter_farm_16x16.json` 3. Test load v igri (TiledTestScene.js) **Checklist**: - [ ] Export to JSON - [ ] Preveri JSON syntax - [ ] Test load v igri --- ## πŸ› PRIORITETA 5: BUG REVIEW (OPTIONAL) ### πŸ” Task 5.1: Code Audit **Čas**: 1h **Prioriteta**: πŸ”΅ LOW **Action**: Review kode za: - Console errors - Performance bottlenecks - Memory leaks - 303 TODO comments (iz bug audit-a) **Checklist**: - [ ] Run game for 10 min - [ ] Monitor Console - [ ] Monitor Performance (F3) - [ ] List critical bugs - [ ] Document v `BUG_REPORT_01_01_2026.md` --- ### πŸ”§ Task 5.2: Fix Critical Bugs **Čas**: 2-4h **Prioriteta**: πŸ”΅ LOW (only if found) **Action**: Fix top 3-5 critical bugs found in Task 5.1 **Checklist**: - [ ] Identify critical bugs - [ ] Fix them - [ ] Test fixes - [ ] Commit --- ## πŸ“Š SESSION TRACKING ### Čas Potreben (Estimate): - **Asset Generation**: 3-6h - **System Integration**: 3-4h - **UI Creation**: 4-6h (optional) - **Tiled Maps**: 1h (optional) - **Bug Review**: 2-4h (optional) **TOTAL**: 6-10h (core) | 13-20h (with optional) --- ## βœ… COMPLETION CHECKLIST ### End of Day Goals: - [ ] **Asset Count**: +200-400 PNG (min) - [ ] **Systems**: All 46 initialized and connected - [ ] **Game Status**: Fully playable with new systems - [ ] **UI**: At least Character Creation working - [ ] **Maps**: Starter map created (optional) - [ ] **Bugs**: No critical errors --- ## 🎯 RECOMMENDED WORKFLOW ### **Session 1 (2h): Morning Kickoff** 1. βœ… Task 2.1: Smoke Test (10 min) 2. 🎨 Task 1.1: Generate Fauna (90 min) 3. πŸ”§ Task 1.4: Background Removal (30 min) ### **Session 2 (3h): System Integration** 1. βš™οΈ Task 2.2: Initialize Systems (1h) 2. πŸ”„ Task 2.3: Add Updates (30 min) 3. πŸ”— Task 2.4: Connect Systems (1h) 4. πŸ§ͺ Task 2.5: Integration Test (30 min) ### **Session 3 (2h): Character Animations** 1. πŸ‘€ Task 1.2: Generate Animations (2h) ### **Session 4 (2h): UI or Biomes** **Option A**: UI Focus - πŸ‘€ Task 3.1: Character Creation (2h) **Option B**: Asset Focus - 🌍 Task 1.3: Complete 1 Biome (2h) ### **Session 5 (1-2h): Polish** - Additional UI screens OR - Map creation OR - Bug fixes --- ## πŸ“ NOTES **Asset Priority**: 1. Character animations (CORE gameplay) 2. Anomalous fauna (variety) 3. Complete biomes (showcase) **Code Priority**: 1. Smoke test (check current state) 2. System integration (get 46 systems working) 3. UI (playability) **Don't Forget**: - βœ… Commit often (after each major task) - βœ… Test frequently - βœ… Take breaks (every 2h) - βœ… API rate limiting (15s delay between calls) --- **Created**: 1.1.2026 12:42 **Status**: πŸš€ READY TO EXECUTE! **Next Step**: Start with Task 2.1 (Smoke Test) OR Task 1.1 (Fauna Generation) πŸŽ† **SREČNO NOVO LETO! LET'S BUILD THIS GAME!** πŸŽ†