Start moving UI elements around

This commit is contained in:
2025-06-28 15:36:08 -07:00
parent bdc3bdf61d
commit 3efab7e233
4 changed files with 134 additions and 90 deletions

View File

@@ -10,47 +10,84 @@
[node name="InGameUI" type="Control"]
process_mode = 3
custom_minimum_size = Vector2(1280, 960)
custom_minimum_size = Vector2(1920, 1080)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 8.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_sc13i")
[node name="PlayerInfoUI" parent="." instance=ExtResource("4_46s5l")]
unique_name_in_owner = true
custom_minimum_size = Vector2(1280, 720)
[node name="HBoxContainer" type="HBoxContainer" parent="."]
custom_minimum_size = Vector2(1920, 1080)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 20.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0
[node name="MiniMap" parent="." instance=ExtResource("2_6sfje")]
[node name="ColorRect" type="ColorRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(260, 0)
layout_mode = 2
color = Color(0.172833, 0.172833, 0.172833, 1)
[node name="SubViewportContainer" type="SubViewportContainer" parent="HBoxContainer"]
layout_mode = 2
[node name="SubViewport" type="SubViewport" parent="HBoxContainer/SubViewportContainer"]
transparent_bg = true
handle_input_locally = false
size = Vector2i(1400, 1080)
render_target_update_mode = 4
[node name="CenterContainer" type="CenterContainer" parent="HBoxContainer/SubViewportContainer/SubViewport"]
custom_minimum_size = Vector2(1440, 1080)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 8.0
grow_horizontal = 2
grow_vertical = 2
[node name="PlayerInfoUI" parent="HBoxContainer/SubViewportContainer/SubViewport/CenterContainer" instance=ExtResource("4_46s5l")]
unique_name_in_owner = true
custom_minimum_size = Vector2(1440, 1080)
layout_mode = 2
[node name="MiniMap" parent="HBoxContainer/SubViewportContainer/SubViewport/CenterContainer" instance=ExtResource("2_6sfje")]
unique_name_in_owner = true
visible = false
layout_mode = 1
custom_minimum_size = Vector2(1440, 1080)
layout_mode = 2
[node name="InventoryMenu" parent="." instance=ExtResource("3_4vcdl")]
[node name="InventoryMenu" parent="HBoxContainer/SubViewportContainer/SubViewport/CenterContainer" instance=ExtResource("3_4vcdl")]
unique_name_in_owner = true
process_mode = 3
visible = false
layout_mode = 1
layout_mode = 2
[node name="UseTeleportPrompt" parent="." instance=ExtResource("5_h1hgq")]
[node name="UseTeleportPrompt" parent="HBoxContainer/SubViewportContainer/SubViewport/CenterContainer" instance=ExtResource("5_h1hgq")]
unique_name_in_owner = true
layout_mode = 1
custom_minimum_size = Vector2(1440, 1080)
layout_mode = 2
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.021
anchor_bottom = 0.021
offset_right = -0.320004
offset_bottom = 0.319998
[node name="Label" type="Label" parent="HBoxContainer/SubViewportContainer/SubViewport/CenterContainer"]
custom_minimum_size = Vector2(1440, 1080)
layout_mode = 2
script = ExtResource("7_c6o8j")
[node name="DebugMenu" parent="." instance=ExtResource("7_llomk")]
[node name="DebugMenu" parent="HBoxContainer/SubViewportContainer/SubViewport/CenterContainer" instance=ExtResource("7_llomk")]
unique_name_in_owner = true
visible = false
layout_mode = 1
custom_minimum_size = Vector2(1440, 1080)
layout_mode = 2
[node name="ColorRect2" type="ColorRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(260, 0)
layout_mode = 2
color = Color(0.172549, 0.172549, 0.172549, 1)