breadwinner/scenes/main_menu/main_menu_control.tscn
Balogh Krisztián 18d9a149a3 added main menu
when you quit the game, it basically crashes and the audio lags for now.
changable audio is still not fixed, the child spatial_audio3d still plays too loud.
2026-08-16 22:38:23 +02:00

65 lines
2.3 KiB
Text

[gd_scene format=3 uid="uid://ct68sibtqnwd3"]
[ext_resource type="Script" uid="uid://cpn3afv0mkf3s" path="res://scenes/main_menu/main_menu_control.gd" id="1_yt8vf"]
[ext_resource type="Theme" uid="uid://bspxrgwuidr02" path="res://resources/styles/menu_theme.tres" id="2_bglv6"]
[node name="MainMenuControl" type="Control" unique_id=2137273835]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_yt8vf")
[node name="VBoxContainer2" type="VBoxContainer" parent="." unique_id=16888608]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.2
anchor_top = 0.2
anchor_right = 0.8
anchor_bottom = 0.8
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer2" unique_id=1010287729]
layout_mode = 2
size_flags_vertical = 6
theme = ExtResource("2_bglv6")
theme_override_font_sizes/font_size = 128
text = "BREADWINNER"
horizontal_alignment = 1
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer2" unique_id=477444179]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 3
[node name="Button" type="Button" parent="VBoxContainer2/VBoxContainer" unique_id=1811326054]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_bglv6")
text = "Start random gen"
[node name="Button2" type="Button" parent="VBoxContainer2/VBoxContainer" unique_id=2118140035]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_bglv6")
text = "Start dev"
[node name="Button3" type="Button" parent="VBoxContainer2/VBoxContainer" unique_id=331418230]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_bglv6")
text = "Options"
[node name="Button4" type="Button" parent="VBoxContainer2/VBoxContainer" unique_id=1238756529]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_bglv6")
text = "Exit"
[connection signal="pressed" from="VBoxContainer2/VBoxContainer/Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer2/VBoxContainer/Button2" to="." method="_on_button_2_pressed"]
[connection signal="pressed" from="VBoxContainer2/VBoxContainer/Button3" to="." method="_on_button_3_pressed"]
[connection signal="pressed" from="VBoxContainer2/VBoxContainer/Button4" to="." method="_on_button_4_pressed"]