breadwinner/scenes/ui/in_game_menu/in_game_menu.tscn
Hellie-xd 900f5eb6c3 kinda working options menu, but needs work
also audio lags on my pc, probably the cpu cant keep up with the audio
2026-08-12 01:47:15 +02:00

57 lines
2.1 KiB
Text

[gd_scene format=3 uid="uid://y5f3db7clptv"]
[ext_resource type="Script" uid="uid://d0g3mdq54p7oh" path="res://scenes/ui/in_game_menu/in_game_menu_manager.gd" id="1_7ec4o"]
[ext_resource type="PackedScene" uid="uid://bfg4q1t8s06vv" path="res://scenes/ui/optimized_blur_panel.tscn" id="2_cltva"]
[ext_resource type="PackedScene" uid="uid://bsxojyyayxo1m" path="res://scenes/ui/options_menu/options.tscn" id="3_cltva"]
[sub_resource type="ButtonGroup" id="ButtonGroup_cltva"]
[node name="InGameMenu" type="Control" unique_id=1952418949]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_7ec4o")
[node name="OptimizedBlurPanel" parent="." unique_id=1779763293 instance=ExtResource("2_cltva")]
layout_mode = 1
[node name="Selections" type="AspectRatioContainer" parent="." unique_id=1893717599]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.2
anchor_right = 0.7
anchor_bottom = 0.6
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Selections" unique_id=1878750362]
layout_mode = 2
[node name="ResumeButton" type="Button" parent="Selections/VBoxContainer" unique_id=1513125674]
layout_mode = 2
text = "Resume"
[node name="OptionsButton" type="Button" parent="Selections/VBoxContainer" unique_id=1588767106]
unique_name_in_owner = true
layout_mode = 2
text = "Options"
[node name="Exit" type="Button" parent="Selections/VBoxContainer" unique_id=1958391122]
layout_mode = 2
text = "Exit"
[node name="Options" parent="." unique_id=855035058 instance=ExtResource("3_cltva")]
unique_name_in_owner = true
visible = false
layout_mode = 1
categories = SubResource("ButtonGroup_cltva")
[connection signal="pressed" from="Selections/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"]
[connection signal="pressed" from="Selections/VBoxContainer/OptionsButton" to="." method="_on_options_pressed"]
[connection signal="pressed" from="Selections/VBoxContainer/Exit" to="." method="_on_exit_pressed"]
[connection signal="visibility_changed" from="Options" to="." method="_on_options_visibility_changed"]