58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://3o430r2kys4k"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/GUI/main.gd" id="1_i8nr4"]
|
|
|
|
[node name="MAIN" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("1_i8nr4")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -198.0
|
|
offset_top = -104.0
|
|
offset_right = 199.0
|
|
offset_bottom = 64.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 2
|
|
|
|
[node name="Start" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Start Game"
|
|
|
|
[node name="ModsMenu" type="MenuButton" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Select Mod"
|
|
flat = false
|
|
item_count = 2
|
|
popup/item_0/text = "test1"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "test2"
|
|
popup/item_1/id = 1
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 10
|
|
|
|
[node name="SettingsButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
|
|
layout_mode = 2
|
|
text = "Game Settings"
|
|
icon_alignment = 1
|
|
|
|
[node name="ExitButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
|
|
layout_mode = 2
|
|
text = "Exit"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Start" to="." method="_on_start_pressed"]
|