41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://b856vwmg8a6o4"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d135tevauvmoq" path="res://Assets/UI/MenuButton.tscn" id="1"]
|
|
[ext_resource type="PackedScene" path="res://Assets/UI/Menu.tscn" id="2"]
|
|
[ext_resource type="Script" path="res://Assets/UI/GUI.gd" id="3"]
|
|
|
|
[node name="GUI" type="CenterContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( "3" )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Menu" parent="." instance=ExtResource( "2" )]
|
|
offset_left = 477.0
|
|
offset_top = 252.0
|
|
offset_right = 547.0
|
|
offset_bottom = 347.0
|
|
|
|
[node name="Options" parent="Menu" instance=ExtResource( "1" )]
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
offset_top = 33.0
|
|
offset_right = 70.0
|
|
offset_bottom = 62.0
|
|
text = "options"
|
|
label = "options"
|
|
|
|
[node name="Quit" parent="Menu" instance=ExtResource( "1" )]
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
offset_top = 66.0
|
|
offset_right = 70.0
|
|
offset_bottom = 95.0
|
|
text = "quit"
|
|
label = "quit"
|
|
|
|
[connection signal="pressed" from="Menu/Options" to="Menu" method="open_menu" binds= ["res://Assets/UI/OptionsMenu.tscn"]]
|
|
[connection signal="pressed" from="Menu/Quit" to="." method="quit_game"]
|