✅ AUDIO AUDIT (AUDIO_AUDIT_COMPLETE.md): - 410+ files mapped to scenes - 10 music tracks (Kevin MacLeod) - 45 voiceover files (EN + SL) - 355 SFX files (estimated) 📊 SCENE MAPPING: - SplashScene: Logo only - IntroScene: All voices + ambient - StoryScene: Main theme - GameScene: All music/SFX 🎵 MUSIC TRACKS: - farm_ambient → Grassland biome - forest_ambient → Forest biome - night_theme → Night time (8pm-6am) - town_theme → Town areas - combat_theme → Enemy detected - ana_theme → Memory scenes - raid_warning → Zombie raid - victory_theme → Quest complete 🎤 VOICEOVER: - Kai: 12 EN + 12 SL (Christopher Neural) - Ana: 8 EN + 8 SL (Aria Neural) - Gronk: 1 EN + 1 SL (Ryan Neural UK) ✅ AUDIO MANAGER (AudioManager.js): - Singleton pattern - Debug logging mode - Console output format: 🎵 [MUSIC] Playing: farm_ambient.mp3 Scene: GameScene Volume: 0.7 Loop: true FEATURES: - playMusic(key, options) - playVoice(key, subtitle) - playSFX(key, options) - crossfadeMusic(newKey, duration) - Volume controls (music/voice/sfx) - Mute/unmute all - Kevin MacLeod attribution tracking - Priority system - Helper methods: - playUI(action) - playFarming(action) - playAnimal(type) - playSpecial(event) 🐛 DEBUG MODE: - Set debugMode = true/false - Logs every playback to console - Shows: file, scene, volume, duration, trigger - Easy debugging of audio issues 📝 ATTRIBUTION: - Kevin MacLeod (CC BY 3.0) - Microsoft Azure Edge TTS voices - Auto-tracked in AudioManager 🎯 USAGE: import audioManager from './systems/AudioManager.js'; audioManager.init(this); audioManager.playMusic('farm'); audioManager.playSFX('harvest', { trigger: 'wheat' }); TOTAL: 410+ files organized & ready!
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 vmesnikiutils/- Pomožne funkcije in orodjaworkers/- Web Workers za ozadjene nalogegame.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.