68 lines
1.9 KiB
Plaintext
68 lines
1.9 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bg4uaukekjbx"]
|
|
|
|
[ext_resource type="Script" uid="uid://b17j8o46gnc0e" path="res://Code/UI/MainMenu.cs" id="1_48xlc"]
|
|
[ext_resource type="PackedScene" uid="uid://xtm08af0e82g" path="res://Scenes/main.tscn" id="2_1ehe0"]
|
|
|
|
[node name="MainMenu" type="Control" node_paths=PackedStringArray("_muteButton")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_48xlc")
|
|
_gameScene = ExtResource("2_1ehe0")
|
|
_muteButton = NodePath("VBoxContainer/MuteCheckButton")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.14044744, 0.14044744, 0.14044744, 1)
|
|
|
|
[node name="Title" 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 = 48
|
|
text = "max effort"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
uppercase = true
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
alignment = 1
|
|
|
|
[node name="PlayButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Play"
|
|
|
|
[node name="QuitButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Quit"
|
|
|
|
[node name="MuteCheckButton" type="CheckButton" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Mute"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/PlayButton" to="." method="OnPlayPressed"]
|
|
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="OnQuitPressed"]
|
|
[connection signal="toggled" from="VBoxContainer/MuteCheckButton" to="." method="OnMuteToggled"]
|