project_teddy/scenes/mainmenu.tscn

49 lines
1.3 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 = 498.0
offset_top = 179.0
offset_right = 689.0
offset_bottom = 242.0
text = "PLAY"
[node name="Button4" type="Button" parent="."]
layout_mode = 0
offset_left = 498.0
offset_top = 248.0
offset_right = 689.0
offset_bottom = 311.0
text = "MULTIPLAYER"
[node name="Button2" type="Button" parent="."]
layout_mode = 0
offset_left = 498.0
offset_top = 316.0
offset_right = 689.0
offset_bottom = 379.0
text = "SETTINGS"
[node name="Button3" type="Button" parent="."]
layout_mode = 0
offset_left = 498.0
offset_top = 384.0
offset_right = 689.0
offset_bottom = 447.0
text = "EXIT"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Button4" to="." method="_on_button_4_pressed"]
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]
[connection signal="pressed" from="Button3" to="." method="_on_button_3_pressed"]