project_teddy/scenes/mainmenu.tscn

40 lines
1 KiB
Text

[gd_scene load_steps=2 format=3 uid="uid://dtvtu8w6b5es0"]
[ext_resource type="Script" path="res://scripts/mainmenu.gd" id="1_w5lhm"]
[node name="mainmenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_w5lhm")
[node name="Button" type="Button" parent="."]
layout_mode = 0
offset_left = 494.0
offset_top = 196.0
offset_right = 685.0
offset_bottom = 259.0
text = "PLAY"
[node name="Button2" type="Button" parent="."]
layout_mode = 0
offset_left = 496.0
offset_top = 279.0
offset_right = 687.0
offset_bottom = 342.0
text = "SETTINGS"
[node name="Button3" type="Button" parent="."]
layout_mode = 0
offset_left = 495.0
offset_top = 358.0
offset_right = 686.0
offset_bottom = 421.0
text = "EXIT"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]
[connection signal="pressed" from="Button3" to="." method="_on_button_3_pressed"]