Files
novafarma/nova farma TRAE/dokumentacija/TODO_NEXT_SESSION.md
David Kotnik 1d7aaf9562 💾 Morning Session Complete - Pixel-Perfect + Auto-Loaders
SESSION DATE: 11. Februar 2026, 06:27 - 10:05
DURATION: ~3.5 hours
FOCUS: Pixel-perfect scale system + Auto-loaders

 IMPLEMENTED SYSTEMS:

1. PIXEL-PERFECT SCALE (06:30):
   - Base tile: 32x32 px reference
   - Kai: 64 px height (2 tiles) - FORCED
   - Tall grass: 28 px height - FORCED
   - Oak tree: 160 px height - FORCED
   - Ratio: Kai 2.3x taller than grass ✓

2. VEGETATION GROUNDING (06:35):
   - All plants: setOrigin(0.5, 1.0) bottom-center
   - ROOT_OFFSET: 6px burial into ground
   - Y-depth sorting: setDepth(this.y) for all
   - Result: NO FLOATING! Plants grow from ground!

3. AUTO-LOADER SYSTEM (06:44):
   - loadVegetation(): 28px target, 4px burial
   - loadTree(): 160px target, 8px burial
   - Auto-scale calculation: target/source
   - SMOOTH rendering: LINEAR filter
   - NO manual setup needed!

4. TEST OBJECTS:
   - Test grass: Left of Kai (28px, 4px burial)
   - Test oak: Right of Kai (160px, 8px burial)
   - Both demonstrate perfect grounding

TECHNICAL CHANGES:
- Kai origin: 0.5, 0.9 → 0.5, 1.0
- Kai scale: 1.0 → 0.25 (64px exact)
- Vegetation re-enabled with grounding
- Rain system active

FILES MODIFIED:
- src/scenes/GrassScene_Clean.js (major refactor)
- dokumentacija/TODO_NEXT_SESSION.md (created)

COMMITS THIS SESSION: 3
1. Pixel-perfect scale constants
2. Vegetation grounding system
3. Auto-loader implementation

Status: All systems working, ready for testing!

Date: 11. Februar 2026, 10:05
2026-02-11 10:05:36 +01:00

2.4 KiB

📋 TODO - Next Session (11.2.2026+)

Last Session: 10-11.2.2026 (6 hours)
Progress: 23/160 assets (14.4%)


🎯 PRIORITETE ZA NASLEDNJI SESSION:

1. BATCH 2 - KAI ANIMATIONS (2 Missing)

  • kai_death_sheet.png - Death animation (4-6 frames)
  • kai_tool_use_sheet.png - Tool animations (hoe, axe, water)

Reference: /assets/references/kaj.png (correct DNA!)


2. BATCH 11 - STRUCTURES (Missing Assets)

MANJKA BARN/SKEDENJ:

  • Generate barn_ruined.png - Ruined state
  • Generate barn_repaired.png - Fixed state

Important:

  • Reference skedenj.png NE OBSTAJA!
  • Moraš generirati iz opisa
  • Gothic chibi style
  • Dark wood, broken roof (ruined)
  • Fixed roof, cleaner (repaired)

Specifications:

  • Animal housing (4 animals capacity)
  • Storage functionality
  • Repair cost: 60 Wood, 25 Stone, 5 Iron
  • Repair time: 3 days

3. BATCH 4 - POLAROID INTRO (8 Images)

Critical for narrative intro:

  • polaroid_13.png - Kai as child
  • polaroid_14.png - Family photo
  • polaroid_15.png - Teenage Kai
  • polaroid_16.png - Ana closeup
  • polaroid_17.png - Cannabis plant memory
  • polaroid_18.png - Abandoned island arrival
  • polaroid_19.png - Kai + Gronk first meeting
  • polaroid_20.png - Valley of Death landscape

Style: Polaroid aesthetic, faded colors, white frame borders


4. TECHNICAL FIXES

  • Test rain system in browser (refresh + verify)
  • Re-enable vegetation system (uncomment lines 1027-1048)
  • Add toggle for rain (T key or UI button?)

ŠE COMPLETED (Session 10-11.2):

Zombies: 7 characters + 2 references
Kai: 4 animations (idle, walk, attack)
Environment: 9 assets (sky, sun, moon, rain)
Code: Rain weather system
Docs: MASTER_GAME_BIBLE + DNEVNIK updated


📊 BATCH STATUS:

  • Batch 1 (Zombies): 100% (8/8)
  • ⏸️ Batch 2 (Kai): 67% (4/6)
  • Batch 3 (Environment): 100% (7/7 + rain)
  • ⏸️ Batch 4 (Polaroid): 0% (0/8)
  • ⏸️ Batch 11 (Structures): 60% (missing barn)

🎮 GAME STATE:

  • Rain system: Active
  • Vegetation: 🚫 Disabled (testing)
  • Assets: All in correct directories
  • Commits: All saved

NEXT SESSION START HERE! 🚀

Datum: 11.2.2026+
Focus: Kai animations → Barn → Polaroid intro