61 lines
2.2 KiB
Plaintext
61 lines
2.2 KiB
Plaintext
[gd_scene format=3 uid="uid://cl0h2acqcq5wq"]
|
|
|
|
[ext_resource type="Theme" uid="uid://bqj884yfvhhft" path="res://game/themes/main_menu.tres" id="1_5d27k"]
|
|
[ext_resource type="Script" uid="uid://daw3vlybwcj5l" path="res://game/menu/main_menu.gd" id="2_qnvmd"]
|
|
[ext_resource type="FontFile" uid="uid://bslwwl3rn7mt2" path="res://fonts/Px437_HP_100LX_8x8.ttf" id="3_i4f54"]
|
|
|
|
[node name="MainMenu" type="Control" unique_id=569032006]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_5d27k")
|
|
script = ExtResource("2_qnvmd")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1180781679]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer" unique_id=736037128]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
alignment = 1
|
|
|
|
[node name="StartButton" type="Button" parent="MarginContainer/VBoxContainer" unique_id=1504018605]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_top = NodePath("../QuitButton")
|
|
text = "START"
|
|
|
|
[node name="OptionsButton" type="Button" parent="MarginContainer/VBoxContainer" unique_id=1073262524]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "OPTIONS"
|
|
|
|
[node name="QuitButton" type="Button" parent="MarginContainer/VBoxContainer" unique_id=1029660410]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_bottom = NodePath("../StartButton")
|
|
text = "QUIT"
|
|
|
|
[node name="CopyrightLabel" type="Label" parent="MarginContainer" unique_id=2068603030]
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
theme_override_fonts/font = ExtResource("3_i4f54")
|
|
theme_override_font_sizes/font_size = 8
|
|
text = "v 1.0.0
|
|
(c) Ruslan Ignatov 2026
|
|
Powered by Godot Engine"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 2
|
|
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|