- ASSET_COUNT_STATUS_01_01_2026.md - asset tracking - CHARACTER_PRODUCTION_PLAN.md - character animation plan - CHARACTER_GENERATION_FINAL_PLAN.md - API alternatives research - COMFYUI_SETUP_TODAY.md - ComfyUI setup guide - TASKS_01_01_2026.md - consolidated task list - FULL_STORY_OVERVIEW.md - game narrative summary - preview_animations.html - animation preview gallery - Test scripts for API exploration (test_minimal.py, test_imagen.py) - Character generation scripts (generate_all_characters_complete.py, generate_characters_working.py) These were created during API troubleshooting and production planning.
14 KiB
🎯 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
- Dino Valley fauna (32/32 PNG) - COMPLETE! ✅
- API kvota reset - READY! ✅
- 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:
- Mythical Highlands (12 PNG) - unicorns, dragons, griffins
- Endless Forest (12 PNG) - bigfoot, wendigo, forest spirits
- Loch Ness (12 PNG) - Nessie, leprechauns, kelpies
- Egyptian Desert (12 PNG) - mummies, scarabs, anubis
- Amazonas (12 PNG) - jaguars, anacondas, piranhas
- Atlantis (12 PNG) - mermaids, sea serpents, dolphins
- Chernobyl (12 PNG) - radioactive mutants, troll king
- Catacombs (12 PNG) - skeletons, ghosts, lich
Action:
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:
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:
- Mexican Cenotes - axolotls, cave crystals, mayan gear
- Witch Forest - witches, potions, dark magic items
- 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:
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):
// ========================================================
// 🆕 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:
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):
// ========================================================
// 🔗 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:
- Odpri Tiled Map Editor
- Map → Add External Tileset
- Browse →
assets/tilesets/*.tsx - 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:
- New Map → 16x16 tiles, 32x32 tile size
- Add layers:
- Ground (base terrain)
- Decoration (trees, rocks)
- Collision (invisible)
- Objects (player spawn point)
- Paint basic starter area
- Add player spawn object (x:8, y:8)
- 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:
- File → Export As → JSON
- Save v
assets/maps/starter_farm_16x16.json - 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
- ✅ Task 2.1: Smoke Test (10 min)
- 🎨 Task 1.1: Generate Fauna (90 min)
- 🔧 Task 1.4: Background Removal (30 min)
Session 2 (3h): System Integration
- ⚙️ Task 2.2: Initialize Systems (1h)
- 🔄 Task 2.3: Add Updates (30 min)
- 🔗 Task 2.4: Connect Systems (1h)
- 🧪 Task 2.5: Integration Test (30 min)
Session 3 (2h): Character Animations
- 👤 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:
- Character animations (CORE gameplay)
- Anomalous fauna (variety)
- Complete biomes (showcase)
Code Priority:
- Smoke test (check current state)
- System integration (get 46 systems working)
- 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! 🎆