GMTK-2024/gmtk_2024/menu/main_menu/control.tscn

35 lines
1 KiB
Text
Raw Normal View History

2024-08-17 01:28:23 +02:00
[gd_scene load_steps=2 format=3 uid="uid://cscsuljo8ivad"]
[ext_resource type="Script" path="res://control.gd" id="1_demfw"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_demfw")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
offset_right = 70.0
offset_bottom = 101.0
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
[node name="start" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = ">start"
[node name="credits" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = ">credits"
[node name="quit" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = ">quit"
[connection signal="pressed" from="VBoxContainer/start" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="VBoxContainer/credits" to="." method="_on_credits_button_pressed"]
[connection signal="pressed" from="VBoxContainer/quit" to="." method="_on_quit_button_pressed"]