From 9d87bc7922f76dc835ac4d4e99115b204cbfdea7 Mon Sep 17 00:00:00 2001 From: Radio Date: Sat, 30 May 2026 00:15:31 +0300 Subject: menus my menu --- scenes/ui/menu.tscn | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 scenes/ui/menu.tscn (limited to 'scenes/ui/menu.tscn') diff --git a/scenes/ui/menu.tscn b/scenes/ui/menu.tscn new file mode 100644 index 0000000..37d83d5 --- /dev/null +++ b/scenes/ui/menu.tscn @@ -0,0 +1,63 @@ +[gd_scene format=3 uid="uid://dqhxjaxlgy4yf"] + +[ext_resource type="Script" uid="uid://befvsvog6282s" path="res://scenes/ui/menu.gd" id="1_wedc3"] +[ext_resource type="PackedScene" uid="uid://dj2dk1g7jnk23" path="res://scenes/ui/title_button.tscn" id="2_c2n5p"] + +[node name="CanvasLayer" type="CanvasLayer" unique_id=1450802124] +script = ExtResource("1_wedc3") + +[node name="Menu" type="Control" parent="." unique_id=115089705] +layout_mode = 3 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 + +[node name="VBoxContainer" type="VBoxContainer" parent="Menu" unique_id=604076564] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -260.5 +offset_top = -294.0 +offset_right = 260.5 +offset_bottom = 294.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Label" type="Label" parent="Menu/VBoxContainer" unique_id=1102397096] +layout_mode = 2 +theme_override_font_sizes/font_size = 100 +text = "MENU!!!!!!!!" +horizontal_alignment = 1 +uppercase = true + +[node name="Save" parent="Menu/VBoxContainer" unique_id=1597537067 instance=ExtResource("2_c2n5p")] +layout_mode = 2 +text = "Save" + +[node name="Load" parent="Menu/VBoxContainer" unique_id=1726486889 instance=ExtResource("2_c2n5p")] +layout_mode = 2 +text = "Load" + +[node name="Options" parent="Menu/VBoxContainer" unique_id=674602521 instance=ExtResource("2_c2n5p")] +layout_mode = 2 +text = "Options" + +[node name="Main Menu" parent="Menu/VBoxContainer" unique_id=1904714546 instance=ExtResource("2_c2n5p")] +layout_mode = 2 +text = "Main Menu" + +[node name="Quit" parent="Menu/VBoxContainer" unique_id=1892162088 instance=ExtResource("2_c2n5p")] +layout_mode = 2 +text = "Quit" + +[connection signal="pressed" from="Menu/VBoxContainer/Main Menu" to="." method="_on_main_menu_pressed"] +[connection signal="pressed" from="Menu/VBoxContainer/Quit" to="." method="_on_quit_pressed"] -- cgit v1.3