From cc413a8b4386e6917c9db693f8ad2aa43033cc1c Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 21 Jan 2018 08:52:04 -0500 Subject: [PATCH] Fix objective having improper settings I messed up the last commit by not including a file, this fixes that. --- scenes/objective.tscn | 51 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/scenes/objective.tscn b/scenes/objective.tscn index 40382c1..b2cc1e8 100644 --- a/scenes/objective.tscn +++ b/scenes/objective.tscn @@ -111,16 +111,31 @@ shape = SubResource( 3 ) disabled = false _sections_unfolded = [ "Transform", "Visibility" ] -[node name="LeftTeam" type="Label" parent="." index="3"] +[node name="HUD" type="Control" parent="." index="3"] anchor_left = 0.5 anchor_top = 0.0 anchor_right = 0.5 anchor_bottom = 0.0 -margin_left = -66.0 -margin_top = 35.0 -margin_right = -26.0 -margin_bottom = 66.0 +margin_left = -20.0 +margin_right = 20.0 +margin_bottom = 40.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 + +[node name="LeftTeam" type="Label" parent="HUD" index="0"] + +anchor_left = 0.5 +anchor_top = 0.0 +anchor_right = 0.5 +anchor_bottom = 0.0 +margin_left = -44.0 +margin_top = 32.0 +margin_right = -4.0 +margin_bottom = 63.0 rect_pivot_offset = Vector2( 0, 0 ) mouse_filter = 2 mouse_default_cursor_shape = 0 @@ -132,16 +147,16 @@ lines_skipped = 0 max_lines_visible = -1 _sections_unfolded = [ "Theme" ] -[node name="RightTeam" type="Label" parent="." index="4"] +[node name="RightTeam" type="Label" parent="HUD" index="1"] -anchor_left = 0.0 +anchor_left = 0.5 anchor_top = 0.0 -anchor_right = 0.0 +anchor_right = 0.5 anchor_bottom = 0.0 -margin_left = 507.0 -margin_top = 35.0 -margin_right = 547.0 -margin_bottom = 49.0 +margin_left = 32.0 +margin_top = 30.0 +margin_right = 72.0 +margin_bottom = 44.0 rect_pivot_offset = Vector2( 0, 0 ) mouse_filter = 2 mouse_default_cursor_shape = 0 @@ -152,14 +167,16 @@ percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -[node name="Finish" type="Label" parent="." index="5"] +[node name="Finish" type="Label" parent="HUD" index="2"] -anchor_left = 0.0 +anchor_left = 0.5 anchor_top = 0.0 -anchor_right = 0.0 +anchor_right = 0.5 anchor_bottom = 0.0 -margin_right = 40.0 -margin_bottom = 14.0 +margin_left = -14.0 +margin_top = 83.0 +margin_right = 26.0 +margin_bottom = 97.0 rect_pivot_offset = Vector2( 0, 0 ) mouse_filter = 2 mouse_default_cursor_shape = 0