[gd_scene load_steps=8 format=3 uid="uid://beok2r6fgburn"] [ext_resource type="Script" uid="uid://ciloxu1k8a1ll" path="res://scene/settings/settings.gd" id="1_7u4nq"] [ext_resource type="AudioStream" uid="uid://dlt4nv6qjhlpy" path="res://asset/audio/sfx/交互/sfx_打开设置.wav" id="2_6hxkf"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_kn03d"] [ext_resource type="AudioStream" uid="uid://cmi6fd68s1ukb" path="res://asset/audio/sfx/交互/sfx_关闭设置.wav" id="4_n2b1f"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="5_kn03d"] [ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="6_n2b1f"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_n2b1f"] [node name="Settings" type="CanvasLayer"] process_mode = 3 layer = 30 script = ExtResource("1_7u4nq") [node name="Sfx打开" type="AudioStreamPlayer" parent="."] process_mode = 1 stream = ExtResource("2_6hxkf") volume_db = -5.0 bus = &"game_sfx" script = ExtResource("3_kn03d") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="Sfx关闭" type="AudioStreamPlayer" parent="."] process_mode = 1 stream = ExtResource("4_n2b1f") volume_db = -5.0 bus = &"game_sfx" script = ExtResource("3_kn03d") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="TextureRect" type="TextureRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 0 texture = ExtResource("5_kn03d") [node name="VBoxContainer" type="VBoxContainer" parent="."] custom_minimum_size = Vector2(0, 199) anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -95.0 offset_top = -109.5 offset_right = 95.0 offset_bottom = 109.5 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 [node name="总音量" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="VBoxContainer/总音量"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_总音量" [node name="HSliderMasterBus" type="HSlider" parent="VBoxContainer/总音量"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 5) layout_mode = 2 size_flags_horizontal = 10 focus_neighbor_bottom = NodePath("../../音效音量/HSliderSfxBus") focus_next = NodePath("../../音效音量/HSliderSfxBus") max_value = 1.0 step = 0.01 value = 1.0 [node name="音效音量" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="VBoxContainer/音效音量"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_音效音量" [node name="HSliderSfxBus" type="HSlider" parent="VBoxContainer/音效音量"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 5) layout_mode = 2 size_flags_horizontal = 10 focus_neighbor_top = NodePath("../../总音量/HSliderMasterBus") focus_neighbor_bottom = NodePath("../../对话音量/HSliderDialogBus") max_value = 1.0 step = 0.01 value = 1.0 [node name="对话音量" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="VBoxContainer/对话音量"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_对话音量" [node name="HSliderDialogBus" type="HSlider" parent="VBoxContainer/对话音量"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 5) layout_mode = 2 size_flags_horizontal = 10 focus_neighbor_top = NodePath("../../音效音量/HSliderSfxBus") focus_neighbor_bottom = NodePath("../../语言/OptionButtonLanguage") max_value = 1.0 step = 0.01 value = 1.0 [node name="HSeparator" type="HSeparator" parent="VBoxContainer"] layout_mode = 2 [node name="语言" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 [node name="Label" type="Label" parent="VBoxContainer/语言"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_语言" [node name="VSeparator" type="VSeparator" parent="VBoxContainer/语言"] layout_mode = 2 theme_override_constants/separation = 31 theme_override_styles/separator = SubResource("StyleBoxEmpty_n2b1f") [node name="OptionButtonLanguage" type="OptionButton" parent="VBoxContainer/语言"] unique_name_in_owner = true layout_mode = 2 focus_neighbor_top = NodePath("../../对话音量/HSliderDialogBus") focus_neighbor_bottom = NodePath("../../自动保存/AutoSaveCheckBox") theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 selected = 0 allow_reselect = true item_count = 2 popup/item_0/text = "简体中文" popup/item_0/id = 0 popup/item_1/text = "English" popup/item_1/id = 2 [node name="字幕" type="HBoxContainer" parent="VBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 [node name="Label" type="Label" parent="VBoxContainer/字幕"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_字幕" [node name="VSeparator" type="VSeparator" parent="VBoxContainer/字幕"] layout_mode = 2 theme_override_constants/separation = 31 theme_override_styles/separator = SubResource("StyleBoxEmpty_n2b1f") [node name="OptionButtonCaption" type="OptionButton" parent="VBoxContainer/字幕"] unique_name_in_owner = true layout_mode = 2 focus_neighbor_top = NodePath("../../对话音量/HSliderDialogBus") focus_neighbor_bottom = NodePath("../../自动保存/AutoSaveCheckBox") theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 selected = 0 allow_reselect = true item_count = 2 popup/item_0/text = "上海话" popup/item_0/id = 1 popup/item_1/text = "普通话" popup/item_1/id = 0 [node name="HSeparator4" type="HSeparator" parent="VBoxContainer"] layout_mode = 2 [node name="自动保存" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 [node name="AutoSaveCheckBox" type="CheckBox" parent="VBoxContainer/自动保存"] unique_name_in_owner = true layout_mode = 2 focus_neighbor_top = NodePath("../../语言/OptionButtonLanguage") focus_neighbor_right = NodePath("../SaveTimeLineEdit") focus_neighbor_bottom = NodePath("../../显示方式/FullscreenBox") focus_next = NodePath("../SaveTimeLineEdit") theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_自动保存" [node name="SaveTimeLineEdit" type="LineEdit" parent="VBoxContainer/自动保存"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 10 focus_neighbor_left = NodePath("../AutoSaveCheckBox") focus_neighbor_top = NodePath("../../语言/OptionButtonLanguage") focus_neighbor_bottom = NodePath("../../显示方式/FullscreenBox") focus_next = NodePath("../../显示方式/FullscreenBox") max_length = 5 caret_blink = true [node name="Label" type="Label" parent="VBoxContainer/自动保存"] layout_mode = 2 size_flags_horizontal = 8 theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "ui_秒" [node name="显示方式" type="GridContainer" parent="VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 columns = 2 [node name="FullscreenBox" type="CheckBox" parent="VBoxContainer/显示方式"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 focus_neighbor_top = NodePath("../../自动保存/SaveTimeLineEdit") focus_neighbor_right = NodePath("../TopBox") focus_next = NodePath("../TopBox") theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_全屏" [node name="TopBox" type="CheckBox" parent="VBoxContainer/显示方式"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 10 focus_neighbor_left = NodePath("../FullscreenBox") focus_neighbor_top = NodePath("../../自动保存/SaveTimeLineEdit") focus_neighbor_bottom = NodePath("../../ReturnBtn") focus_previous = NodePath("../FullscreenBox") theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_置顶" [node name="HSeparator3" type="HSeparator" parent="VBoxContainer"] layout_mode = 2 [node name="ReturnBtn" type="Button" parent="VBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 4 focus_neighbor_top = NodePath("../显示方式/TopBox") focus_previous = NodePath("../显示方式/TopBox") theme_override_fonts/font = ExtResource("6_n2b1f") theme_override_font_sizes/font_size = 11 text = "setting_返回"