Refine opening prologue presentation

This commit is contained in:
2026-06-20 04:42:39 +09:00
parent f42229930a
commit b10eb520b9
4 changed files with 67 additions and 51 deletions

View File

@@ -45,8 +45,25 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
failures.append("title screen should start with an audible menu BGM stream")
elif scene.bgm_player.volume_db < -12.0:
failures.append("title menu BGM should be loud enough to hear by default: %.1fdb" % scene.bgm_player.volume_db)
if scene._sfx_stream_for("ui_click") == null or scene._sfx_stream_for("slash") == null or scene._sfx_stream_for("victory_sting") == null:
failures.append("core UI, combat, and result SFX streams should load")
if scene._bgm_stream_for("battle") == null:
failures.append("battle BGM stream should load before combat starts")
for sfx_key in [
"ui_click",
"menu_confirm",
"menu_cancel",
"footstep",
"slash",
"bow_release",
"hit_heavy",
"guard_block",
"skill_cast",
"fire_skill",
"item_pickup",
"victory_sting",
"defeat_sting"
]:
if scene._sfx_stream_for(sfx_key) == null:
failures.append("SFX stream should load: %s" % sfx_key)
if scene.title_background_texture_rect == null or scene.title_background_texture_rect.texture == null:
failures.append("title screen should show a high-resolution battlefield backdrop")
elif BattleSceneScript.TITLE_BACKGROUND_PATH == BattleSceneScript.DEFAULT_BATTLE_BACKGROUND_PATH:
@@ -126,6 +143,8 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
failures.append("opening prologue should show generated story artwork")
elif scene.opening_prologue_scene_texture_rect.custom_minimum_size.x <= scene.opening_prologue_scene_texture_rect.custom_minimum_size.y:
failures.append("opening prologue story artwork should use a wide cinematic frame")
elif scene.opening_prologue_scene_texture_rect.custom_minimum_size.x < 1200 or scene.opening_prologue_scene_texture_rect.custom_minimum_size.y < 700:
failures.append("opening prologue story artwork should fill the first screen instead of sitting in a small frame")
if scene.opening_prologue_body_label != null and scene.opening_prologue_body_label.custom_minimum_size.x < 500:
failures.append("opening prologue body text should have enough caption width for Korean copy")
var first_story_texture: Texture2D = null