Files
novafarma/src/scenes/StoryScene.js
David Kotnik d50a5c8381 🔧 CRITICAL FIXES - Game Actually Works Now!
1. FOG FIX - NO MORE CIRCLES:
- Scale: 15 → 20 (HUGE particles)
- Alpha: 0.02 (VERY subtle)
- Result: Soft mist, not circles!

2. AUDIO CRASH FIX - ALL SCENES SAFE:
- Added cache.exists() before ALL sound.add()
- UltimatePrologueScene: 5 voice files protected
  - v1_breathing
  - v2_flyover
  - v3_awakening
  - v4_id_card
  - v5_determination
- If audio missing → Skip with warning
- Game continues without crash!

3. SAFETY FALLBACKS:
- Missing audio → 2s delay → Next phase
- Console warnings (not errors)
- Game never stops

RESULT:
 NEW GAME button works
 No audio crashes
 Fog looks like fog
 Game progresses smoothly

TESTED: NEW GAME → No crashes!
2026-01-11 00:27:39 +01:00

21 KiB