Smart Subtitles
This commit is contained in:
@@ -468,6 +468,10 @@ class GameScene extends Phaser.Scene {
|
||||
console.log('♿ Initializing Accessibility System...');
|
||||
this.accessibilitySystem = new AccessibilitySystem(this);
|
||||
|
||||
// Initialize Visual Sound Cue System (for deaf/hard-of-hearing players)
|
||||
console.log('👁️ Initializing Visual Sound Cue System...');
|
||||
this.visualSoundCueSystem = new VisualSoundCueSystem(this);
|
||||
|
||||
// Show epilepsy warning on first launch
|
||||
const hasSeenWarning = localStorage.getItem('novafarma_epilepsy_warning');
|
||||
if (!hasSeenWarning) {
|
||||
@@ -834,6 +838,9 @@ class GameScene extends Phaser.Scene {
|
||||
// NPC Spawner Update
|
||||
if (this.npcSpawner) this.npcSpawner.update(delta);
|
||||
|
||||
// Visual Sound Cue System Update
|
||||
if (this.visualSoundCueSystem) this.visualSoundCueSystem.update();
|
||||
|
||||
// Update NPCs
|
||||
for (const npc of this.npcs) {
|
||||
if (npc.update) npc.update(delta);
|
||||
|
||||
Reference in New Issue
Block a user