Clarify audio preview controls

This commit is contained in:
2026-06-20 11:54:09 +09:00
parent e4ca509b80
commit f0f555ec35
2 changed files with 32 additions and 17 deletions

View File

@@ -156,8 +156,8 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
else:
if not scene.title_bgm_toggle.text.contains("군막의 새벽"):
failures.append("title BGM toggle should name the active menu theme")
if not scene.title_sfx_toggle.text.contains("클릭") or not scene.title_sfx_toggle.text.contains("전투"):
failures.append("title SFX toggle should clarify menu and battle effects")
if not scene.title_sfx_toggle.text.contains("클릭") or not scene.title_sfx_toggle.text.contains("발소리") or not scene.title_sfx_toggle.text.contains("전투"):
failures.append("title SFX toggle should clarify menu, movement, and battle effects")
if scene.title_bgm_volume_slider == null or scene.title_sfx_volume_slider == null:
failures.append("title settings should expose BGM and SFX volume sliders")
scene._on_title_bgm_toggled(false)
@@ -184,12 +184,12 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
if persisted_scene.title_bgm_volume_percent != 45 or persisted_scene.title_sfx_volume_percent != 35:
failures.append("title settings volume values should persist into a new scene instance")
persisted_scene.free()
if scene.title_audio_reset_button == null or scene.title_audio_reset_button.text != "소리 확인":
failures.append("title settings should expose a one-click audio preview button")
if scene.title_audio_reset_button == null or scene.title_audio_reset_button.text != "기본값 듣기":
failures.append("title settings should expose a clear audio defaults preview button")
else:
_check_title_menu_button_art(failures, scene.title_audio_reset_button, "status", "title audio reset")
if not scene.title_audio_reset_button.tooltip_text.contains("확인음"):
failures.append("title audio preview should explain that it plays a confirmation sound")
if not scene.title_audio_reset_button.tooltip_text.contains("확인음") or not scene.title_audio_reset_button.tooltip_text.contains("발소리") or not scene.title_audio_reset_button.tooltip_text.contains("타격음"):
failures.append("title audio preview should explain the confirmation, movement, and strike samples")
scene.recent_sfx_keys.clear()
scene._on_title_audio_reset_pressed()
if not scene.title_bgm_enabled or not scene.title_sfx_enabled:
@@ -200,6 +200,10 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
failures.append("title audio recovery should leave a playable BGM stream selected")
if not scene.recent_sfx_keys.has("menu_confirm"):
failures.append("title audio preview should play an audible confirmation SFX")
if not scene.recent_sfx_keys.has("footstep"):
failures.append("title audio preview should play a movement footstep SFX")
if not scene.recent_sfx_keys.has("slash"):
failures.append("title audio preview should play a strike SFX")
scene._on_title_settings_back_pressed()
if scene.title_settings_panel != null and scene.title_settings_panel.visible:
failures.append("settings back should hide the title settings panel")
@@ -358,8 +362,8 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
else:
if not scene.settings_bgm_toggle.text.contains("군막") or not scene.settings_bgm_toggle.text.contains("전투"):
failures.append("in-game BGM toggle should clarify menu and battle music")
if not scene.settings_sfx_toggle.text.contains("선택") or not scene.settings_sfx_toggle.text.contains("전투"):
failures.append("in-game SFX toggle should clarify menu and battle effects")
if not scene.settings_sfx_toggle.text.contains("선택") or not scene.settings_sfx_toggle.text.contains("발소리") or not scene.settings_sfx_toggle.text.contains("전투"):
failures.append("in-game SFX toggle should clarify menu, movement, and battle effects")
if scene.settings_bgm_volume_slider == null or scene.settings_sfx_volume_slider == null:
failures.append("in-game settings panel should expose BGM and SFX volume sliders")
scene._on_settings_bgm_toggled(true)
@@ -371,8 +375,8 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
failures.append("in-game settings toggles should update the shared settings state")
if scene.title_bgm_volume_percent != 70 or scene.title_sfx_volume_percent != 60:
failures.append("in-game settings sliders should update the shared volume state")
if scene.settings_audio_reset_button == null or scene.settings_audio_reset_button.text != "소리 확인":
failures.append("in-game settings should expose a one-click audio preview button")
if scene.settings_audio_reset_button == null or scene.settings_audio_reset_button.text != "기본값 듣기":
failures.append("in-game settings should expose a clear audio defaults preview button")
elif not scene.settings_audio_reset_button.tooltip_text.contains("현재 음악"):
failures.append("in-game audio preview should explain that it plays the current music")
scene._on_settings_bgm_toggled(false)
@@ -387,6 +391,10 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
failures.append("in-game audio recovery should restore audible volume defaults")
if not scene.recent_sfx_keys.has("menu_confirm"):
failures.append("in-game audio preview should play an audible confirmation SFX")
if not scene.recent_sfx_keys.has("footstep"):
failures.append("in-game audio preview should play a movement footstep SFX")
if not scene.recent_sfx_keys.has("slash"):
failures.append("in-game audio preview should play a strike SFX")
scene._hide_settings_panel()
scene._on_new_campaign_pressed()
if not scene._is_opening_prologue_visible():