From 85939686f7fed6fcaa0c01c3be380596a4a6cd59 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 9 Jan 2023 00:37:06 +0100 Subject: [PATCH] Layout mode is back --- player/Player.tscn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/player/Player.tscn b/player/Player.tscn index 50e4380..09241c8 100644 --- a/player/Player.tscn +++ b/player/Player.tscn @@ -128,6 +128,7 @@ grow_horizontal = 2 grow_vertical = 2 [node name="CameraViewportContainer" type="SubViewportContainer" parent="Head/Viewport"] +layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 @@ -167,6 +168,7 @@ theme = SubResource("Theme_smyke") [node name="FPS_Label" type="Label" parent="HUD"] visible = false +layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 @@ -179,7 +181,7 @@ horizontal_alignment = 2 script = SubResource("GDScript_iiadi") [node name="PointsSpawner" type="Control" parent="HUD"] -layout_mode = 3 +layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 @@ -190,6 +192,7 @@ grow_vertical = 2 script = SubResource("GDScript_5d122") [node name="AmmoLabel" type="Label" parent="HUD"] +layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 @@ -218,6 +221,7 @@ modulate = Color(1, 0.596078, 1, 1) show_behind_parent = true z_index = 4096 z_as_relative = false +layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 @@ -242,6 +246,7 @@ MainCamera = NodePath("../../../../Head/Viewport/CameraViewportContainer/GameVie [node name="Crosshair" type="ColorRect" parent="HUD"] material = SubResource("ShaderMaterial_2p6rt") +layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0