REM/scenes/menus/main_menu.tscn
2026-03-26 20:37:29 -06:00

54 lines
1.4 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://dadipes760e3q"]
[ext_resource type="Script" uid="uid://co0h6er0mkgyc" path="res://scripts/start_menu_buttons.gd" id="1_l6cm7"]
[sub_resource type="LabelSettings" id="LabelSettings_ekxnf"]
font_size = 100
[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
[node name="BackgroundPanel" type="Panel" parent="."]
layout_mode = 0
offset_right = 1920.0
offset_bottom = 803.0
[node name="Title" type="Label" parent="."]
layout_mode = 0
offset_left = 417.0
offset_top = 87.0
offset_right = 1402.0
offset_bottom = 364.0
text = "R.E.M
Hallucinations"
label_settings = SubResource("LabelSettings_ekxnf")
horizontal_alignment = 1
[node name="StartButton" type="Button" parent="."]
layout_mode = 0
offset_left = 802.0
offset_top = 455.0
offset_right = 1028.0
offset_bottom = 518.0
theme_override_font_sizes/font_size = 40
text = "Start Game"
script = ExtResource("1_l6cm7")
[node name="QuitButton" type="Button" parent="."]
layout_mode = 0
offset_left = 865.0
offset_top = 621.0
offset_right = 957.0
offset_bottom = 684.0
theme_override_font_sizes/font_size = 40
text = "Quit"
script = ExtResource("1_l6cm7")
[connection signal="pressed" from="StartButton" to="StartButton" method="_on_pressed"]
[connection signal="pressed" from="QuitButton" to="QuitButton" method="_on_pressed"]