179 lines
6.0 KiB
Plaintext
179 lines
6.0 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://bpjjq1wdqm7um"]
|
|
|
|
[ext_resource type="VideoStream" uid="uid://bkbulg542mj6v" path="res://asset/audio/专用/包包丁片头_5899532.ogv" id="1_24316"]
|
|
[ext_resource type="Script" uid="uid://dbjwl8l8x1udp" path="res://scene/trailer.gd" id="1_tess7"]
|
|
[ext_resource type="Texture2D" uid="uid://b1xp65ac7f1iq" path="res://asset/art/ui/index/佩戴耳机提示_下方无字.png" id="3_a6l8g"]
|
|
[ext_resource type="AudioStream" uid="uid://dq7h4qjtd72wk" path="res://asset/audio/sfx/交互/通用点击.ogg" id="4_y2lxw"]
|
|
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="5_yb8ks"]
|
|
[ext_resource type="Theme" uid="uid://be5scnhjobkux" path="res://config/settings_theme.tres" id="6_a6l8g"]
|
|
[ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="7_pe403"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_2v8ms"]
|
|
|
|
[node name="Trailer" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_tess7")
|
|
|
|
[node name="SfxClick" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("4_y2lxw")
|
|
bus = &"game_sfx"
|
|
script = ExtResource("5_yb8ks")
|
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
|
|
|
[node name="VideoStreamPlayer" type="VideoStreamPlayer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
stream = ExtResource("1_24316")
|
|
volume_db = -8.0
|
|
expand = true
|
|
bus = &"game_sfx"
|
|
|
|
[node name="遮罩" type="ColorRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
[node name="耳机提示" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("3_a6l8g")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="设置界面" type="MarginContainer" parent="耳机提示"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -85.0
|
|
offset_top = -65.0
|
|
offset_right = 85.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="耳机提示/设置界面"]
|
|
custom_minimum_size = Vector2(0, 100)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
theme = ExtResource("6_a6l8g")
|
|
|
|
[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
|
|
text = "setting_语言"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="耳机提示/设置界面/VBoxContainer/语言"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 31
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_2v8ms")
|
|
|
|
[node name="LangLeft" type="Button" parent="耳机提示/设置界面/VBoxContainer/语言"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_right = NodePath("../LangRight")
|
|
focus_neighbor_bottom = NodePath("../../CaptionBox/CaptionLeft")
|
|
focus_next = NodePath("../LangRight")
|
|
focus_previous = NodePath("../../ConfirmButton")
|
|
text = "<"
|
|
flat = true
|
|
|
|
[node name="LangLabel" type="Label" parent="耳机提示/设置界面/VBoxContainer/语言"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "中文"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LangRight" type="Button" parent="耳机提示/设置界面/VBoxContainer/语言"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../LangLeft")
|
|
focus_neighbor_bottom = NodePath("../../CaptionBox/CaptionRight")
|
|
focus_next = NodePath("../../CaptionBox/CaptionLeft")
|
|
focus_previous = NodePath("../LangLeft")
|
|
text = ">"
|
|
flat = true
|
|
|
|
[node name="CaptionBox" type="HBoxContainer" parent="耳机提示/设置界面/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="Label" type="Label" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "setting_字幕"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 31
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_2v8ms")
|
|
|
|
[node name="CaptionLeft" type="Button" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_top = NodePath("../../语言/LangLeft")
|
|
focus_neighbor_right = NodePath("../CaptionRight")
|
|
focus_neighbor_bottom = NodePath("../../ConfirmButton")
|
|
focus_next = NodePath("../CaptionRight")
|
|
focus_previous = NodePath("../../语言/LangRight")
|
|
text = "<"
|
|
flat = true
|
|
|
|
[node name="CaptionLabel" type="Label" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "普通话"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="CaptionRight" type="Button" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../CaptionLeft")
|
|
focus_neighbor_top = NodePath("../../语言/LangRight")
|
|
focus_neighbor_right = NodePath("../../ConfirmButton")
|
|
focus_neighbor_bottom = NodePath("../../ConfirmButton")
|
|
focus_next = NodePath("../../ConfirmButton")
|
|
focus_previous = NodePath("../CaptionLeft")
|
|
text = ">"
|
|
flat = true
|
|
|
|
[node name="ConfirmButton" type="Button" parent="耳机提示/设置界面/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 4
|
|
focus_neighbor_top = NodePath("../CaptionBox/CaptionLeft")
|
|
focus_next = NodePath("../语言/LangLeft")
|
|
focus_previous = NodePath("../CaptionBox/CaptionRight")
|
|
theme_override_fonts/font = ExtResource("7_pe403")
|
|
theme_override_font_sizes/font_size = 11
|
|
text = "setting_确认"
|