Add interface sound feedback

This commit is contained in:
hz
2026-07-11 12:59:17 -05:00
parent 8bd7f5e4e8
commit 6eae6c9690
208 changed files with 2117 additions and 34 deletions
+2
View File
@@ -88,6 +88,7 @@ func _build_mode_view() -> void:
back_button.alignment = HORIZONTAL_ALIGNMENT_LEFT
back_button.custom_minimum_size = Vector2(150, 42)
Style.style_chip(back_button, Style.CYAN)
UISoundService.set_button_sound(back_button, "back")
back_button.pressed.connect(func(): _show_stage("exam"))
mode_view.add_child(back_button)
@@ -237,6 +238,7 @@ func _start_question_bank() -> void:
if not visible or current_stage != "step3" or not QuestionBankService.has_questions():
return
if BlockSessionService.start_core_run():
UISoundService.play_sound("question")
main.show_screen("player")
else:
bank_error_label.text = BlockSessionService.core_status_message