liblast/Game/Assets/UI/GUI.tscn

41 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-06-02 17:00:28 +02:00
[gd_scene load_steps=4 format=2]
2021-06-01 23:53:32 +02:00
[ext_resource path="res://Assets/UI/MenuButton.tscn" type="PackedScene" id=1]
[ext_resource path="res://Assets/UI/Menu.tscn" type="PackedScene" id=2]
[ext_resource path="res://Assets/UI/GUI.gd" type="Script" id=3]
2021-06-01 23:53:32 +02:00
[node name="GUI" type="CenterContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-01 23:53:32 +02:00
2021-06-02 17:00:28 +02:00
[node name="Menu" parent="." instance=ExtResource( 2 )]
2021-06-01 23:53:32 +02:00
offset_left = 477.0
offset_top = 252.0
offset_right = 547.0
offset_bottom = 347.0
[node name="Options" parent="Menu" instance=ExtResource( 1 )]
2021-06-02 17:00:28 +02:00
anchor_right = 0.0
anchor_bottom = 0.0
2021-06-01 23:53:32 +02:00
offset_top = 33.0
offset_right = 70.0
offset_bottom = 62.0
text = "options"
2021-06-02 17:00:28 +02:00
label = "options"
2021-06-01 23:53:32 +02:00
[node name="Quit" parent="Menu" instance=ExtResource( 1 )]
2021-06-02 17:00:28 +02:00
anchor_right = 0.0
anchor_bottom = 0.0
2021-06-01 23:53:32 +02:00
offset_top = 66.0
offset_right = 70.0
offset_bottom = 95.0
text = "quit"
2021-06-02 17:00:28 +02:00
label = "quit"
2021-06-01 23:53:32 +02:00
[connection signal="pressed" from="Menu/Options" to="Menu" method="open_menu" binds= ["res://OptionsMenu.tscn"]]
2021-06-02 17:00:28 +02:00
[connection signal="pressed" from="Menu/Quit" to="." method="quit_game"]