From 339b853b88f4e7eeb74dbcb906db75efae61d7ca Mon Sep 17 00:00:00 2001 From: Wickedness Date: Sat, 20 Jun 2026 20:16:32 +0900 Subject: [PATCH] Trim dialogue panel footprint --- scripts/scenes/battle_scene.gd | 6 +++--- tools/smoke_visual_assets.gd | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/scenes/battle_scene.gd b/scripts/scenes/battle_scene.gd index 4202b7c..d8a82c6 100644 --- a/scripts/scenes/battle_scene.gd +++ b/scripts/scenes/battle_scene.gd @@ -137,9 +137,9 @@ const UNIT_ARROW_ATTACK_DURATION := 0.36 const UNIT_COMMAND_ATTACK_DURATION := 0.38 const UNIT_HEAVY_ATTACK_DURATION := 0.34 const UNIT_TACTIC_CAST_DURATION := 0.42 -const DIALOGUE_PANEL_POSITION := Vector2(40, 324) -const DIALOGUE_PANEL_SIZE := Vector2(1200, 356) -const DIALOGUE_PORTRAIT_SIZE := Vector2(220, 310) +const DIALOGUE_PANEL_POSITION := Vector2(40, 340) +const DIALOGUE_PANEL_SIZE := Vector2(1200, 340) +const DIALOGUE_PORTRAIT_SIZE := Vector2(220, 298) const DIALOGUE_COLUMN_SIZE := Vector2(850, 318) const DIALOGUE_TEXT_SIZE := Vector2(830, 188) const OBJECTIVE_HUD_FONT_SIZE := 14 diff --git a/tools/smoke_visual_assets.gd b/tools/smoke_visual_assets.gd index 5871aff..acf0eda 100644 --- a/tools/smoke_visual_assets.gd +++ b/tools/smoke_visual_assets.gd @@ -3793,6 +3793,10 @@ func _check_ancient_ui_theme(failures: Array[String]) -> void: _check_hanging_tassel(failures, scene.dialogue_left_tassel, "dialogue left tassel") _check_hanging_tassel(failures, scene.dialogue_right_tassel, "dialogue right tassel") _check_dialogue_column_budget(failures, scene) + if scene.DIALOGUE_PANEL_POSITION.y < 336.0 or scene.DIALOGUE_PANEL_SIZE.y > 344.0: + failures.append("dialogue panel should stay compact and leave battlefield context visible: pos=%s size=%s" % [str(scene.DIALOGUE_PANEL_POSITION), str(scene.DIALOGUE_PANEL_SIZE)]) + if scene.dialogue_text_label == null or scene.dialogue_text_label.custom_minimum_size.y < 160.0: + failures.append("compact dialogue should still reserve readable multi-line Korean body space") if scene.dialogue_continue_button == null or scene.dialogue_continue_button.text != "다음": failures.append("dialogue continue button should use Korean text") if scene.dialogue_previous_button == null or scene.dialogue_previous_button.text != "이전":