2023-11-17 20:49:38 +11:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://clulh7v8c7h85"]
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/options_menu.gd" id="1_bievw"]
|
2023-11-17 20:49:38 +11:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bjk7jf0bau5lv" path="res://Scenes/Menus/gameplay_options.tscn" id="3_25wuw"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bmd4mawasoc11" path="res://Scenes/Menus/graphics_options.tscn" id="4_ckcvq"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bf2nosqt5f82e" path="res://Scenes/Menus/keybind_options.tscn" id="5_4k33c"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bwc45ogto8thn" path="res://Scenes/Menus/audio_options.tscn" id="6_4vs8p"]
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2023-11-19 18:47:52 +11:00
|
|
|
[node name="OptionsMenu" type="PanelContainer" node_paths=PackedStringArray("gameplay", "graphics", "keybinds")]
|
2023-11-08 14:28:55 +11:00
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_left = 30.0
|
|
|
|
offset_top = 30.0
|
|
|
|
offset_right = -30.0
|
|
|
|
offset_bottom = -30.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_bievw")
|
2023-11-19 18:47:52 +11:00
|
|
|
gameplay = NodePath("VBoxContainer/TabContainer/Gameplay")
|
|
|
|
graphics = NodePath("VBoxContainer/TabContainer/Graphics")
|
|
|
|
keybinds = NodePath("VBoxContainer/TabContainer/Keybinds")
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[node name="Gameplay" parent="VBoxContainer/TabContainer" instance=ExtResource("3_25wuw")]
|
2023-11-16 00:07:41 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[node name="Graphics" parent="VBoxContainer/TabContainer" instance=ExtResource("4_ckcvq")]
|
2023-11-08 14:28:55 +11:00
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[node name="Keybinds" parent="VBoxContainer/TabContainer" instance=ExtResource("5_4k33c")]
|
2023-11-08 14:28:55 +11:00
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[node name="Audio" parent="VBoxContainer/TabContainer" instance=ExtResource("6_4vs8p")]
|
2023-11-08 14:28:55 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
alignment = 2
|
|
|
|
|
2023-12-09 01:09:12 +11:00
|
|
|
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
|
2023-11-08 14:28:55 +11:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Discard"
|
|
|
|
|
2023-12-09 01:09:12 +11:00
|
|
|
[node name="Confirm" type="Button" parent="VBoxContainer/HBoxContainer"]
|
2023-11-08 14:28:55 +11:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Confirm"
|
|
|
|
|
2023-12-09 01:09:12 +11:00
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="_on_cancel_pressed"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Confirm" to="." method="_on_confirm_pressed"]
|