Files
novafarma/src
David Kotnik 37e30cc514 🔧📝 PHASER 3 API FIX + SESSION DIARY
🔧 StoryScene.js - Particle Emitter Fix:
-  OLD: fogParticles.createEmitter() - DEPRECATED
-  NEW: this.add.particles(x, y, texture, config)
- Fixed Phaser 3 API compatibility
- Error: createEmitter removed → RESOLVED

Changes:
- Removed intermediate fogParticles variable
- Direct this.add.particles() call
- Updated config to Phaser 3 standard
- Removed 'ease' from alpha (not needed)

Error Fixed:
Uncaught Error: createEmitter removed
→ Now using correct Phaser 3.60+ API

📝 SESSION DIARY CREATED:
- SESSION_DNEVNIK_JAN_10_2026_STREAMER_READY.md
- Complete documentation of today's work
- 6 hours of development logged
- 1,682 lines of code written
- All systems documented

Includes:
- Detailed timeline (18:00 - 00:00)
- Code statistics
- All 9 systems implemented
- File references
- Git commit history
- Next steps

Files:
- src/scenes/StoryScene.js (FIXED!)
- SESSION_DNEVNIK_JAN_10_2026_STREAMER_READY.md (NEW!)

 FOG EFFECT NOW WORKING!
📝 FULL SESSION DOCUMENTED!
2026-01-10 23:43:30 +01:00
..
2026-01-08 23:34:22 +01:00
2026-01-10 23:38:17 +01:00
2026-01-08 01:53:09 +01:00
2026-01-10 23:43:30 +01:00
2026-01-10 23:38:17 +01:00
2026-01-10 13:16:14 +01:00

Dolina Smrti - Source Code

Glavna izvorna koda za igro Dolina Smrti (Valley of Death).

Struktura

  • data/ - Podatkovne datoteke (recepti, konfiguracije)
  • entities/ - Igralne entitete (Player, NPC, Creatures)
  • scenes/ - Phaser scene (GameScene, MenuScene, itd.)
  • systems/ - Sistemi igre (130+ sistemov!)
  • ui/ - UI komponente in vmesniki
  • utils/ - Pomožne funkcije in orodja
  • workers/ - Web Workers za ozadjene naloge
  • game.js - Glavni Phaser game konfiguracija

Glavne Scene

Igra uporablja Phaser 3 framework s sistemom scene. Vse scene so v scenes/ direktoriju.

Sistemi

Več kot 130 sistemov skrbi za različne aspekte igre - od zombijev do farmanja.