Pad CCS continuation prompt
This commit is contained in:
@@ -155,15 +155,15 @@ anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -330.0
|
||||
offset_top = -50.0
|
||||
offset_right = -72.0
|
||||
offset_bottom = -24.0
|
||||
offset_top = -60.0
|
||||
offset_right = -90.0
|
||||
offset_bottom = -32.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.12, 0.22, 0.28, 0.82)
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = "Click to continue ▼"
|
||||
text = "Click to continue"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ func _show_dialogue_page() -> void:
|
||||
dialogue_text.text = dialogue_pages[dialogue_page_index]
|
||||
dialogue_text.visible_ratio = 0.0
|
||||
dialogue_reveal_complete = false
|
||||
dialogue_continue_hint.text = "Click to continue ▼"
|
||||
dialogue_continue_hint.text = "Click to continue"
|
||||
dialogue_continue_hint.visible = true
|
||||
dialogue_bubble.visible = true
|
||||
dialogue_bubble.grab_focus()
|
||||
@@ -190,7 +190,7 @@ func complete_dialogue_reveal() -> void:
|
||||
func _on_dialogue_reveal_finished() -> void:
|
||||
dialogue_tween = null
|
||||
dialogue_reveal_complete = true
|
||||
dialogue_continue_hint.text = "Click to continue ▼"
|
||||
dialogue_continue_hint.text = "Click to continue"
|
||||
dialogue_continue_hint.visible = true
|
||||
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ func _run() -> void:
|
||||
_assert(is_equal_approx(screen.active_scene.dialogue_text.offset_left, 96.0), "patient dialogue should retain the increased left inset")
|
||||
_assert(_bubble_matches_content(screen.active_scene), "the speech bubble should size itself to the wrapped response page")
|
||||
_assert(screen.active_scene.dialogue_continue_hint.visible, "the continuation prompt should remain visible while text is typing")
|
||||
_assert(screen.active_scene.dialogue_continue_hint.text == "Click to continue ▼", "every dialogue page should use consistent continuation wording")
|
||||
_assert(screen.active_scene.dialogue_continue_hint.text == "Click to continue", "every dialogue page should use supported continuation wording")
|
||||
var outside_click := _left_click(screen.active_scene.get_global_rect().end + Vector2(50.0, 50.0))
|
||||
screen.active_scene._input(outside_click)
|
||||
_assert(not screen.active_scene.dialogue_reveal_complete, "clicks outside the doctor scene should not affect dialogue")
|
||||
|
||||
Reference in New Issue
Block a user