MagicNStuff/source/components/ui/menus/main_menu/main_menu.tscn
2025-02-25 22:07:11 +01:00

50 lines
1.3 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://dwd8wf02j2epn"]
[ext_resource type="Script" uid="uid://bmsx3h2kunhb0" path="res://components/ui/menus/main_menu/main_menu.gd" id="1_6xfbl"]
[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_6xfbl")
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 23.0
grow_horizontal = 2
theme_override_font_sizes/font_size = 64
text = "Untitled Maskot Horror Game"
horizontal_alignment = 1
[node name="ButtonContainer" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(128, 0)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -21.0
offset_top = -33.0
offset_right = 21.0
offset_bottom = 33.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="PlayButton" type="Button" parent="ButtonContainer"]
layout_mode = 2
text = "Play"
[node name="QuitButton" type="Button" parent="ButtonContainer"]
layout_mode = 2
text = "Quit"
[connection signal="pressed" from="ButtonContainer/PlayButton" to="." method="_on_play_button_pressed"]
[connection signal="pressed" from="ButtonContainer/QuitButton" to="." method="_on_quit_button_pressed"]