70 lines
2.2 KiB
Plaintext
70 lines
2.2 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bxlccevt52y70"]
|
|
|
|
[ext_resource type="Script" uid="uid://dixdfabe2vfsj" path="res://game/menu/main/main_menu.gd" id="1_chmv6"]
|
|
[ext_resource type="Theme" uid="uid://dtnd3tqllufey" path="res://styles/menu_theme.tres" id="2_f5okj"]
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("1_chmv6")
|
|
|
|
[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 = -74.0
|
|
offset_top = -94.0
|
|
offset_right = 74.0
|
|
offset_bottom = 94.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="ContinueButton" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("2_f5okj")
|
|
disabled = true
|
|
button_mask = 0
|
|
text = "Continue"
|
|
|
|
[node name="StartButton" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("2_f5okj")
|
|
button_mask = 0
|
|
text = "New Game"
|
|
|
|
[node name="OptionsButton" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("2_f5okj")
|
|
text = "Options"
|
|
|
|
[node name="CreditsButton" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
z_index = 100
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("2_f5okj")
|
|
text = "Credits"
|
|
|
|
[node name="QuitButton" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("2_f5okj")
|
|
text = "Quit"
|
|
|
|
[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
|
|
[connection signal="pressed" from="VBoxContainer/ContinueButton" to="." method="_on_continue_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|