310 lines
11 KiB
Plaintext
310 lines
11 KiB
Plaintext
[gd_scene load_steps=9 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="Theme" uid="uid://be5scnhjobkux" path="res://config/settings_theme.tres" id="6_7e43x"]
|
|
[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="."]
|
|
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="."]
|
|
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="MarginContainer" type="MarginContainer" parent="."]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -119.5
|
|
offset_top = -123.5
|
|
offset_right = 119.5
|
|
offset_bottom = 123.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
custom_minimum_size = Vector2(150, 150)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
theme = ExtResource("6_7e43x")
|
|
|
|
[node name="总音量" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/总音量"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "setting_总音量"
|
|
|
|
[node name="HSliderMasterBus" type="HSlider" parent="MarginContainer/VBoxContainer/总音量"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(90, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
focus_neighbor_bottom = NodePath("../../音效音量/HSliderSfxBus")
|
|
focus_next = NodePath("../../音效音量/HSliderSfxBus")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="MainPercentage" type="Label" parent="MarginContainer/VBoxContainer/总音量"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(19, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "70"
|
|
|
|
[node name="音效音量" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/音效音量"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "setting_音效音量"
|
|
|
|
[node name="HSliderSfxBus" type="HSlider" parent="MarginContainer/VBoxContainer/音效音量"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(90, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
focus_neighbor_top = NodePath("../../总音量/HSliderMasterBus")
|
|
focus_neighbor_bottom = NodePath("../../对话音量/HSliderDialogBus")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="SfxPercentage" type="Label" parent="MarginContainer/VBoxContainer/音效音量"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(19, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "70"
|
|
|
|
[node name="对话音量" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/对话音量"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "setting_对话音量"
|
|
|
|
[node name="HSliderDialogBus" type="HSlider" parent="MarginContainer/VBoxContainer/对话音量"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(90, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
focus_neighbor_top = NodePath("../../音效音量/HSliderSfxBus")
|
|
focus_neighbor_bottom = NodePath("../../语言/OptionButtonLanguage")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="DialogPercentage" type="Label" parent="MarginContainer/VBoxContainer/对话音量"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(19, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "100"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="语言" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/语言"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "setting_语言"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="MarginContainer/VBoxContainer/语言"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 31
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_n2b1f")
|
|
|
|
[node name="OptionButtonLanguage" type="OptionButton" parent="MarginContainer/VBoxContainer/语言"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_top = NodePath("../../对话音量/HSliderDialogBus")
|
|
focus_neighbor_bottom = NodePath("../../字幕/OptionButtonCaption")
|
|
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="MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/字幕"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "setting_字幕"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="MarginContainer/VBoxContainer/字幕"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 31
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_n2b1f")
|
|
|
|
[node name="OptionButtonCaption" type="OptionButton" parent="MarginContainer/VBoxContainer/字幕"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_top = NodePath("../../语言/OptionButtonLanguage")
|
|
focus_neighbor_bottom = NodePath("../../OSAutoEnd")
|
|
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="HSeparator2" type="HSeparator" parent="MarginContainer/VBoxContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="OSAutoEnd" type="CheckBox" parent="MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
focus_neighbor_top = NodePath("../字幕/OptionButtonCaption")
|
|
focus_neighbor_bottom = NodePath("../OSWaitTimeBox/HSliderOSWaitTime")
|
|
text = "setting_气泡文字自动结束"
|
|
|
|
[node name="OSWaitTimeBox" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/OSWaitTimeBox"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "setting_气泡等待时长"
|
|
|
|
[node name="HSliderOSWaitTime" type="HSlider" parent="MarginContainer/VBoxContainer/OSWaitTimeBox"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(90, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
focus_neighbor_top = NodePath("../../OSAutoEnd")
|
|
focus_neighbor_bottom = NodePath("../../自动保存/AutoSaveCheckBox")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="OSWaitTimePercentage" type="Label" parent="MarginContainer/VBoxContainer/OSWaitTimeBox"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(19, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "2"
|
|
|
|
[node name="Label2" type="Label" parent="MarginContainer/VBoxContainer/OSWaitTimeBox"]
|
|
custom_minimum_size = Vector2(5, 0)
|
|
layout_mode = 2
|
|
text = "ui_秒"
|
|
|
|
[node name="HSeparator4" type="HSeparator" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="自动保存" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="AutoSaveCheckBox" type="CheckBox" parent="MarginContainer/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")
|
|
text = "setting_自动保存"
|
|
|
|
[node name="SaveTimeLineEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/自动保存"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
focus_neighbor_left = NodePath("../AutoSaveCheckBox")
|
|
focus_neighbor_top = NodePath("../../OSAutoEnd")
|
|
focus_neighbor_bottom = NodePath("../../显示方式/FullscreenBox")
|
|
focus_next = NodePath("../../显示方式/FullscreenBox")
|
|
max_length = 5
|
|
caret_blink = true
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/自动保存"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
text = "ui_秒"
|
|
|
|
[node name="显示方式" type="GridContainer" parent="MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="FullscreenBox" type="CheckBox" parent="MarginContainer/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")
|
|
text = "setting_全屏"
|
|
|
|
[node name="TopBox" type="CheckBox" parent="MarginContainer/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")
|
|
text = "setting_置顶"
|
|
|
|
[node name="ReturnBtn" type="Button" parent="MarginContainer/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_返回"
|