init
This commit is contained in:
62
max-effort/Scenes/main_menu.tscn
Normal file
62
max-effort/Scenes/main_menu.tscn
Normal file
@@ -0,0 +1,62 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bg4uaukekjbx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xtm08af0e82g" path="res://Scenes/main.tscn" id="1_28flt"]
|
||||
|
||||
[node name="MainMenu" type="MainMenu" node_paths=PackedStringArray("mute_button")]
|
||||
game_scene = ExtResource("1_28flt")
|
||||
mute_button = NodePath("VBoxContainer/MuteButton")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[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.14117648, 0.14117648, 0.14117648, 1)
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 67.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
|
||||
|
||||
[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="MuteButton" type="CheckButton" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Mute"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/PlayButton" to="." method="on_play_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="on_quit_pressed"]
|
||||
Reference in New Issue
Block a user