Add sound effects, ambient music and volume mixing (0.5.0)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Denis Defolie
2026-10-11 22:57:37 +02:00
parent dbf513e686
commit 2d7001105d
40 changed files with 665 additions and 26 deletions
+2
View File
@@ -66,6 +66,7 @@ func _ready() -> void:
_skill_id = _rule.get("skill", "")
_current_difficulty = ProgressManager.next_difficulty_for_skill(_skill_id, 1)
$Backdrop.kind = "marsh" if _rule.get("level", "CE1") == "CE2" else "forest"
AudioManager.play_music(SoundCatalog.music_for_level(_rule.get("level", "CE1")))
_show_rule_panel()
@@ -171,6 +172,7 @@ func _handle_result(result: CorrectionResult) -> void:
ProgressManager.record_attempt(
_skill_id, result.is_correct, _attempt_number > 1, _mission["exercise_type"]
)
AudioManager.play_sfx("success" if result.is_correct else "try_again")
_show_feedback(result, support_level, is_terminal)