Refine opening prologue layout

This commit is contained in:
2026-06-20 04:10:43 +09:00
parent cd8f3b6926
commit 0e59451ed4
4 changed files with 55 additions and 50 deletions

View File

@@ -124,6 +124,10 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
failures.append("opening prologue should give Cao Cao, decision, Xiahou Dun, and Yingchuan their own beats")
if scene.opening_prologue_scene_texture_rect == null or scene.opening_prologue_scene_texture_rect.texture == null:
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")
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
if scene.opening_prologue_scene_texture_rect != null:
first_story_texture = scene.opening_prologue_scene_texture_rect.texture