project_teddy/scenes/mainmenu.tscn

61 lines
1.6 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 = 479.0
offset_top = 187.0
offset_right = 670.0
offset_bottom = 250.0
text = "TUTORIAL"
[node name="Button4" type="Button" parent="."]
layout_mode = 0
offset_left = 479.0
offset_top = 256.0
offset_right = 670.0
offset_bottom = 319.0
text = "MULTIPLAYER"
metadata/_edit_use_anchors_ = true
[node name="Button2" type="Button" parent="."]
layout_mode = 0
offset_left = 479.0
offset_top = 324.0
offset_right = 670.0
offset_bottom = 387.0
text = "SETTINGS"
metadata/_edit_use_anchors_ = true
[node name="Button3" type="Button" parent="."]
layout_mode = 0
offset_left = 479.0
offset_top = 392.0
offset_right = 670.0
offset_bottom = 455.0
text = "EXIT"
metadata/_edit_use_anchors_ = true
[node name="Button5" type="Button" parent="."]
layout_mode = 0
offset_left = 527.0
offset_top = 597.0
offset_right = 619.0
offset_bottom = 637.0
text = "CREDITS"
[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"]
[connection signal="pressed" from="Button5" to="." method="_on_button_5_pressed"]