imported main menu scene addon
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
@tool
|
||||
extends ListOptionControl
|
||||
|
||||
func _set_input_device() -> void:
|
||||
var current_setting : Variant = _get_setting(default_value)
|
||||
if current_setting is bool:
|
||||
current_setting = &"Default"
|
||||
AudioServer.input_device = _get_setting(default_value)
|
||||
|
||||
func _add_microphone_audio_stream() -> void:
|
||||
var instance := AudioStreamPlayer.new()
|
||||
instance.stream = AudioStreamMicrophone.new()
|
||||
instance.autoplay = true
|
||||
add_child.call_deferred(instance)
|
||||
instance.ready.connect(_set_input_device)
|
||||
|
||||
func _ready() -> void:
|
||||
if ProjectSettings.get_setting("audio/driver/enable_input", false):
|
||||
show()
|
||||
if AudioServer.input_device.is_empty():
|
||||
_add_microphone_audio_stream()
|
||||
else:
|
||||
_set_input_device()
|
||||
if not Engine.is_editor_hint():
|
||||
option_values = AudioServer.get_input_device_list()
|
||||
else:
|
||||
hide()
|
||||
super._ready()
|
||||
|
||||
func _on_setting_changed(value : Variant) -> void:
|
||||
if value >= option_values.size(): return
|
||||
AudioServer.input_device = option_values[value]
|
||||
super._on_setting_changed(value)
|
||||
|
||||
func _value_title_map(value : Variant) -> String:
|
||||
if value is String:
|
||||
return value
|
||||
else:
|
||||
return super._value_title_map(value)
|
||||
@@ -0,0 +1 @@
|
||||
uid://h71jrpe7r1cx
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://7hqbc80e06sy"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/list_option_control.tscn" id="1_lfo7w"]
|
||||
[ext_resource type="Script" path="res://scenes/menus/options_menu/audio/audio_input_option_control.gd" id="2_m6bxx"]
|
||||
|
||||
[node name="AudioInputOptionControl" unique_id=1866818783 instance=ExtResource("1_lfo7w")]
|
||||
visible = false
|
||||
script = ExtResource("2_m6bxx")
|
||||
option_name = "Input Device"
|
||||
option_section = 2
|
||||
key = "InputDevice"
|
||||
section = "AudioSettings"
|
||||
property_type = 4
|
||||
|
||||
[node name="OptionLabel" parent="." index="0" unique_id=1854788461]
|
||||
text = "Input Device :"
|
||||
|
||||
[node name="OptionButton" parent="." index="1" unique_id=264509485]
|
||||
size_flags_horizontal = 3
|
||||
text_overrun_behavior = 1
|
||||
clip_text = true
|
||||
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=3 uid="uid://b5sx6r7ohjrj"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/audio/audio_options_menu.tscn" id="1_33wdu"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/audio/audio_input_option_control.tscn" id="2_vnecy"]
|
||||
|
||||
[node name="Audio" unique_id=651805888 instance=ExtResource("1_33wdu")]
|
||||
|
||||
[node name="AudioInputOptionControl" parent="VBoxContainer" parent_id_path=PackedInt32Array(1265848630) index="2" unique_id=774781052 instance=ExtResource("2_vnecy")]
|
||||
layout_mode = 2
|
||||
@@ -0,0 +1,4 @@
|
||||
extends Control
|
||||
|
||||
func _on_ResetGameControl_reset_confirmed() -> void:
|
||||
GameState.reset()
|
||||
@@ -0,0 +1 @@
|
||||
uid://uqwakd86xudk
|
||||
@@ -0,0 +1,26 @@
|
||||
[gd_scene format=3 uid="uid://1vbfefiimyns"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/menus/options_menu/game/game_options_menu.gd" id="1_hvcyg"]
|
||||
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/nodes/utilities/capture_focus.gd" id="2_t8t6j"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/game/reset_game_control/reset_game_control.tscn" id="3_pfgxr"]
|
||||
|
||||
[node name="Game" type="MarginContainer" unique_id=205916118]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme_override_constants/margin_top = 24
|
||||
theme_override_constants/margin_bottom = 24
|
||||
script = ExtResource("1_hvcyg")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=93516622]
|
||||
custom_minimum_size = Vector2(400, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
alignment = 1
|
||||
script = ExtResource("2_t8t6j")
|
||||
search_depth = 2
|
||||
|
||||
[node name="ResetGameControl" parent="VBoxContainer" unique_id=208719318 instance=ExtResource("3_pfgxr")]
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="reset_confirmed" from="VBoxContainer/ResetGameControl" to="." method="_on_ResetGameControl_reset_confirmed"]
|
||||
@@ -0,0 +1,25 @@
|
||||
extends HBoxContainer
|
||||
|
||||
const RESET_STRING := "Reset Game:"
|
||||
const CONFIRM_STRING := "Confirm Reset:"
|
||||
|
||||
signal reset_confirmed
|
||||
|
||||
func _on_cancel_button_pressed():
|
||||
%CancelButton.hide()
|
||||
%ConfirmButton.hide()
|
||||
%ResetButton.show()
|
||||
%ResetButton.grab_focus()
|
||||
%ResetLabel.text = RESET_STRING
|
||||
|
||||
func _on_reset_button_pressed():
|
||||
%CancelButton.show()
|
||||
%ConfirmButton.show()
|
||||
%CancelButton.grab_focus()
|
||||
%ResetButton.hide()
|
||||
%ResetLabel.text = CONFIRM_STRING
|
||||
|
||||
func _on_confirm_button_pressed():
|
||||
reset_confirmed.emit()
|
||||
get_tree().paused = false
|
||||
SceneLoader.reload_current_scene()
|
||||
@@ -0,0 +1 @@
|
||||
uid://dnk3oomyk374q
|
||||
@@ -0,0 +1,40 @@
|
||||
[gd_scene format=3 uid="uid://jam2ds44byob"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/menus/options_menu/game/reset_game_control/reset_game_control.gd" id="1_mkb8o"]
|
||||
|
||||
[node name="ResetGameControl" type="HBoxContainer" unique_id=1147095030]
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
offset_top = 210.0
|
||||
offset_right = 305.0
|
||||
offset_bottom = 242.0
|
||||
script = ExtResource("1_mkb8o")
|
||||
|
||||
[node name="ResetLabel" type="Label" parent="." unique_id=666807423]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Reset Game :"
|
||||
|
||||
[node name="ResetButton" type="Button" parent="." unique_id=846056487]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(72, 32)
|
||||
layout_mode = 2
|
||||
text = "Reset"
|
||||
|
||||
[node name="CancelButton" type="Button" parent="." unique_id=130771510]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(72, 32)
|
||||
layout_mode = 2
|
||||
text = "No"
|
||||
|
||||
[node name="ConfirmButton" type="Button" parent="." unique_id=963578876]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(72, 32)
|
||||
layout_mode = 2
|
||||
text = "Yes"
|
||||
|
||||
[connection signal="pressed" from="ResetButton" to="." method="_on_reset_button_pressed"]
|
||||
[connection signal="pressed" from="CancelButton" to="." method="_on_cancel_button_pressed"]
|
||||
[connection signal="pressed" from="ConfirmButton" to="." method="_on_confirm_button_pressed"]
|
||||
@@ -0,0 +1,65 @@
|
||||
[gd_scene format=3 uid="uid://bp41gchfamu7y"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/nodes/utilities/capture_focus.gd" id="1_1v5x4"]
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/slider_option_control.tscn" id="2_goqr1"]
|
||||
|
||||
[node name="Inputs" type="MarginContainer" unique_id=998049297]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1869351161]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 8
|
||||
script = ExtResource("1_1v5x4")
|
||||
search_depth = 5
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer" unique_id=561522128]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 32
|
||||
theme_override_constants/margin_bottom = 32
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/MarginContainer" unique_id=796157829]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 8
|
||||
alignment = 1
|
||||
|
||||
[node name="MouseSensitivityControl" parent="VBoxContainer/MarginContainer/VBoxContainer" unique_id=1921387610 instance=ExtResource("2_goqr1")]
|
||||
layout_mode = 2
|
||||
option_name = "Mouse Sensitivity"
|
||||
option_section = 1
|
||||
key = "MouseSensitivity"
|
||||
section = "InputSettings"
|
||||
|
||||
[node name="OptionLabel" parent="VBoxContainer/MarginContainer/VBoxContainer/MouseSensitivityControl" index="0" unique_id=1854788461]
|
||||
text = "Mouse Sensitivity :"
|
||||
|
||||
[node name="HSlider" parent="VBoxContainer/MarginContainer/VBoxContainer/MouseSensitivityControl" index="1" unique_id=424108384]
|
||||
min_value = 0.25
|
||||
max_value = 2.0
|
||||
tick_count = 8
|
||||
|
||||
[node name="JoypadSensitivityControl" parent="VBoxContainer/MarginContainer/VBoxContainer" unique_id=256777414 instance=ExtResource("2_goqr1")]
|
||||
layout_mode = 2
|
||||
option_name = "Joypad Sensitivity"
|
||||
option_section = 1
|
||||
key = "JoypadSensitivity"
|
||||
section = "InputSettings"
|
||||
|
||||
[node name="OptionLabel" parent="VBoxContainer/MarginContainer/VBoxContainer/JoypadSensitivityControl" index="0" unique_id=1854788461]
|
||||
text = "Joypad Sensitivity :"
|
||||
|
||||
[node name="HSlider" parent="VBoxContainer/MarginContainer/VBoxContainer/JoypadSensitivityControl" index="1" unique_id=424108384]
|
||||
min_value = 0.25
|
||||
max_value = 2.0
|
||||
tick_count = 8
|
||||
|
||||
[editable path="VBoxContainer/MarginContainer/VBoxContainer/MouseSensitivityControl"]
|
||||
[editable path="VBoxContainer/MarginContainer/VBoxContainer/JoypadSensitivityControl"]
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene format=3 uid="uid://clsvhv4a67jt2"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/input/input_icon_mapper.tscn" id="1_7vieq"]
|
||||
|
||||
[node name="InputIconMapper" unique_id=2136107125 instance=ExtResource("1_7vieq")]
|
||||
@@ -0,0 +1,14 @@
|
||||
[gd_scene format=3 uid="uid://bke7evcujycfq"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/input/input_options_menu.tscn" id="1_i27v5"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/input/input_icon_mapper.tscn" id="2_hyv0n"]
|
||||
|
||||
[node name="Controls" unique_id=294191899 instance=ExtResource("1_i27v5")]
|
||||
|
||||
[node name="InputActionsList" parent="VBoxContainer/InputMappingContainer" parent_id_path=PackedInt32Array(1004992485) index="1" unique_id=2089976301 node_paths=PackedStringArray("input_icon_mapper")]
|
||||
input_icon_mapper = NodePath("../../../InputIconMapper")
|
||||
|
||||
[node name="InputActionsTree" parent="VBoxContainer/InputMappingContainer" parent_id_path=PackedInt32Array(1004992485) index="2" unique_id=780755880 node_paths=PackedStringArray("input_icon_mapper")]
|
||||
input_icon_mapper = NodePath("../../../InputIconMapper")
|
||||
|
||||
[node name="InputIconMapper" parent="." index="6" unique_id=1326793573 instance=ExtResource("2_hyv0n")]
|
||||
@@ -0,0 +1,39 @@
|
||||
[gd_scene format=3 uid="uid://b5fr8lxqhfu2s"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/input/input_options_menu.tscn" id="1_fwapm"]
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/slider_option_control.tscn" id="2_56ptf"]
|
||||
|
||||
[node name="Controls" unique_id=1972124152 instance=ExtResource("1_fwapm")]
|
||||
|
||||
[node name="VBoxContainer" parent="." index="0" unique_id=539297323]
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer" index="0" unique_id=1399429015]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 32
|
||||
theme_override_constants/margin_bottom = 32
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/MarginContainer" index="0" unique_id=951107081]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
alignment = 1
|
||||
|
||||
[node name="MouseSensitivityControl" parent="VBoxContainer/MarginContainer/VBoxContainer" index="0" unique_id=1384087 instance=ExtResource("2_56ptf")]
|
||||
layout_mode = 2
|
||||
option_name = "Mouse Sensitivity"
|
||||
option_section = 1
|
||||
key = "MouseSensitivity"
|
||||
section = "InputSettings"
|
||||
|
||||
[node name="OptionLabel" parent="VBoxContainer/MarginContainer/VBoxContainer/MouseSensitivityControl" index="0" unique_id=1854788461]
|
||||
text = "Mouse Sensitivity :"
|
||||
|
||||
[node name="HSlider" parent="VBoxContainer/MarginContainer/VBoxContainer/MouseSensitivityControl" index="1" unique_id=424108384]
|
||||
min_value = 0.25
|
||||
max_value = 2.0
|
||||
tick_count = 8
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer" index="1" unique_id=714626530]
|
||||
layout_mode = 2
|
||||
|
||||
[editable path="VBoxContainer/MarginContainer/VBoxContainer/MouseSensitivityControl"]
|
||||
@@ -0,0 +1,42 @@
|
||||
[gd_scene format=3 uid="uid://dokae2ohhidmw"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/paginated_tab_container.gd" id="1_fqpxk"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/input/input_options_menu.tscn" id="2_w1dvr"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/input/input_extras_menu.tscn" id="3_bn2s3"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/audio/audio_options_menu.tscn" id="4_6wkjv"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/video/video_options_menu_with_extras.tscn" id="5_kr6xa"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/game/game_options_menu.tscn" id="6_n2uhm"]
|
||||
|
||||
[node name="MasterOptionsMenu" type="TabContainer" unique_id=1111795112]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
tab_alignment = 1
|
||||
current_tab = 0
|
||||
script = ExtResource("1_fqpxk")
|
||||
|
||||
[node name="Controls" parent="." unique_id=1827648101 instance=ExtResource("2_w1dvr")]
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 0
|
||||
|
||||
[node name="Inputs" parent="." unique_id=1534818691 instance=ExtResource("3_bn2s3")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 1
|
||||
|
||||
[node name="Audio" parent="." unique_id=506115522 instance=ExtResource("4_6wkjv")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 2
|
||||
|
||||
[node name="Video" parent="." unique_id=382045299 instance=ExtResource("5_kr6xa")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 3
|
||||
|
||||
[node name="Game" parent="." unique_id=1395408076 instance=ExtResource("6_n2uhm")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 4
|
||||
@@ -0,0 +1,51 @@
|
||||
[gd_scene format=3 uid="uid://b08lr2rh336kn"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/mini_options_menu.gd" id="1_w3x3l"]
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/slider_option_control.tscn" id="2_7t2pa"]
|
||||
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/nodes/utilities/capture_focus.gd" id="3_x0e25"]
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/toggle_option_control.tscn" id="4_xg1r4"]
|
||||
|
||||
[node name="MiniOptionsMenu" type="VBoxContainer" unique_id=2109470311]
|
||||
custom_minimum_size = Vector2(400, 260)
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -130.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 130.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_constants/separation = 8
|
||||
alignment = 1
|
||||
script = ExtResource("1_w3x3l")
|
||||
audio_control_scene = ExtResource("2_7t2pa")
|
||||
|
||||
[node name="AudioControlContainer" type="VBoxContainer" parent="." unique_id=2081802894]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
script = ExtResource("3_x0e25")
|
||||
search_depth = 2
|
||||
|
||||
[node name="MuteControl" parent="." unique_id=1533689152 instance=ExtResource("4_xg1r4")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
option_name = "Mute"
|
||||
option_section = 2
|
||||
key = "Mute"
|
||||
section = "AudioSettings"
|
||||
|
||||
[node name="FullscreenControl" parent="." unique_id=311912129 instance=ExtResource("4_xg1r4")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
option_name = "Fullscreen"
|
||||
option_section = 3
|
||||
key = "FullscreenEnabled"
|
||||
section = "VideoSettings"
|
||||
|
||||
[connection signal="setting_changed" from="MuteControl" to="." method="_on_mute_control_setting_changed"]
|
||||
[connection signal="setting_changed" from="FullscreenControl" to="." method="_on_fullscreen_control_setting_changed"]
|
||||
@@ -0,0 +1,4 @@
|
||||
extends "res://addons/maaacks_game_template/base/nodes/menus/options_menu/mini_options_menu.gd"
|
||||
|
||||
func _on_reset_game_control_reset_confirmed() -> void:
|
||||
GameState.reset()
|
||||
@@ -0,0 +1 @@
|
||||
uid://s0fjtumwwnu4
|
||||
@@ -0,0 +1,56 @@
|
||||
[gd_scene format=3 uid="uid://chjqs8p4fglv4"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/menus/options_menu/mini_options_menu_with_reset.gd" id="1_kj0d4"]
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/slider_option_control.tscn" id="2_kdjme"]
|
||||
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/nodes/utilities/capture_focus.gd" id="3_8p5p7"]
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/toggle_option_control.tscn" id="4_iq5ao"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menus/options_menu/game/reset_game_control/reset_game_control.tscn" id="5_bvuwx"]
|
||||
|
||||
[node name="MiniOptionsMenu" type="VBoxContainer" unique_id=1724615502]
|
||||
custom_minimum_size = Vector2(400, 260)
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -130.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 130.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_constants/separation = 8
|
||||
alignment = 1
|
||||
script = ExtResource("1_kj0d4")
|
||||
audio_control_scene = ExtResource("2_kdjme")
|
||||
|
||||
[node name="AudioControlContainer" type="VBoxContainer" parent="." unique_id=803318905]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
script = ExtResource("3_8p5p7")
|
||||
search_depth = 2
|
||||
|
||||
[node name="MuteControl" parent="." unique_id=1252265559 instance=ExtResource("4_iq5ao")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
option_name = "Mute"
|
||||
option_section = 2
|
||||
key = "Mute"
|
||||
section = "AudioSettings"
|
||||
|
||||
[node name="FullscreenControl" parent="." unique_id=836716545 instance=ExtResource("4_iq5ao")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
option_name = "Fullscreen"
|
||||
option_section = 3
|
||||
key = "FullscreenEnabled"
|
||||
section = "VideoSettings"
|
||||
|
||||
[node name="ResetGameControl" parent="." unique_id=919045811 instance=ExtResource("5_bvuwx")]
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="setting_changed" from="MuteControl" to="." method="_on_mute_control_setting_changed"]
|
||||
[connection signal="setting_changed" from="FullscreenControl" to="." method="_on_fullscreen_control_setting_changed"]
|
||||
[connection signal="reset_confirmed" from="ResetGameControl" to="." method="_on_reset_game_control_reset_confirmed"]
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene format=3 uid="uid://c3e0iq6i1of70"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/video/video_options_menu.tscn" id="1_ytjyv"]
|
||||
|
||||
[node name="Video" unique_id=1641772648 instance=ExtResource("1_ytjyv")]
|
||||
@@ -0,0 +1,31 @@
|
||||
[gd_scene format=3 uid="uid://ctfdv3navnuv8"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/video/video_options_menu.tscn" id="1_n1b6r"]
|
||||
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/nodes/menus/options_menu/option_control/list_option_control.tscn" id="2_r8snp"]
|
||||
|
||||
[node name="Video" unique_id=2066056515 instance=ExtResource("1_n1b6r")]
|
||||
|
||||
[node name="AntiAliasingControl" parent="VBoxContainer" parent_id_path=PackedInt32Array(1251699420) index="3" unique_id=1035813408 instance=ExtResource("2_r8snp")]
|
||||
layout_mode = 2
|
||||
lock_titles = true
|
||||
option_values = [0, 1, 2, 3]
|
||||
option_titles = Array[String](["Disabled (Fastest)", "2x", "4x", "8x (Slowest)"])
|
||||
option_name = "Anti-Aliasing"
|
||||
option_section = 3
|
||||
key = "Anti-aliasing"
|
||||
section = "VideoSettings"
|
||||
property_type = 2
|
||||
default_value = 0
|
||||
|
||||
[node name="CameraShakeControl" parent="VBoxContainer" parent_id_path=PackedInt32Array(1251699420) index="4" unique_id=683521251 instance=ExtResource("2_r8snp")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
lock_titles = true
|
||||
option_values = [1.0, 0.75, 0.5, 0.0]
|
||||
option_titles = Array[String](["Normal", "Reduced", "Minimal", "None"])
|
||||
option_name = "Camera Shake"
|
||||
option_section = 3
|
||||
key = "CameraShake"
|
||||
section = "VideoSettings"
|
||||
property_type = 3
|
||||
default_value = 1.0
|
||||
Reference in New Issue
Block a user