Add some UI
This commit is contained in:
+18
-36
@@ -2,51 +2,33 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7kvg0jw6w340" path="res://ui/pause/PauseMain.gd" id="1_b5xfl"]
|
||||
|
||||
[node name="PauseMain" type="VBoxContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
[node name="PauseMain" type="VBoxContainer" node_paths=PackedStringArray("btnResume", "btnSettings", "btnQuit")]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_b5xfl")
|
||||
metadata/_custom_type_script = "uid://c7kvg0jw6w340"
|
||||
btnResume = NodePath("Resume")
|
||||
btnSettings = NodePath("Settings")
|
||||
btnQuit = NodePath("Quit")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "Paused"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="HBoxContainer"]
|
||||
[node name="Resume" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Resume"
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="HBoxContainer"]
|
||||
[node name="Settings" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
auto_width = true
|
||||
item_count = 6
|
||||
item_0/text = "Equpiment"
|
||||
item_1/text = "Abilities"
|
||||
item_2/text = "Items"
|
||||
item_3/text = "Quests"
|
||||
item_4/text = "Settings"
|
||||
item_5/text = "Save"
|
||||
text = "Settings"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="."]
|
||||
[node name="Quit" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="HBoxContainer" type="GridContainer" parent="HBoxContainer2/PanelContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_constants/h_separation = 8
|
||||
columns = 2
|
||||
|
||||
[node name="Money" type="Label" parent="HBoxContainer2/PanelContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "%MONEY%"
|
||||
|
||||
[node name="Playtime" type="Label" parent="HBoxContainer2/PanelContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "%PLAYTIME%"
|
||||
text = "Quit Game"
|
||||
|
||||
Reference in New Issue
Block a user