73 lines
2.8 KiB
Plaintext
73 lines
2.8 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://clulh7v8c7h85"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/options_menu.gd" id="1_bievw"]
|
|
[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"]
|
|
|
|
[node name="OptionsMenu" type="PanelContainer" node_paths=PackedStringArray("gameplay", "graphics", "keybinds")]
|
|
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")
|
|
gameplay = NodePath("VBoxContainer/TabContainer/Gameplay")
|
|
graphics = NodePath("VBoxContainer/TabContainer/Graphics")
|
|
keybinds = NodePath("VBoxContainer/TabContainer/Keybinds")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Gameplay" parent="VBoxContainer/TabContainer" instance=ExtResource("3_25wuw")]
|
|
layout_mode = 2
|
|
|
|
[node name="Graphics" parent="VBoxContainer/TabContainer" instance=ExtResource("4_ckcvq")]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="Keybinds" parent="VBoxContainer/TabContainer" instance=ExtResource("5_4k33c")]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="Audio" parent="VBoxContainer/TabContainer" instance=ExtResource("6_4vs8p")]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 30
|
|
theme_override_constants/margin_top = 5
|
|
theme_override_constants/margin_right = 30
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
text = "Discard"
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 30
|
|
theme_override_constants/margin_top = 5
|
|
theme_override_constants/margin_right = 30
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="Confirm" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer2"]
|
|
layout_mode = 2
|
|
text = "Confirm"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/MarginContainer/Cancel" to="." method="_on_cancel_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/MarginContainer2/Confirm" to="." method="_on_confirm_pressed"]
|