xiandie/scene/ground/script/c01/s10_鬼差探头.tscn
2025-07-09 12:56:33 +08:00

139 lines
4.7 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://bf6oxxe2e6vxj"]
[ext_resource type="Script" uid="uid://bgffnekpvw8pu" path="res://scene/ground/script/c01/s10_鬼差探头.gd" id="1_pvnth"]
[ext_resource type="Texture2D" uid="uid://cfh7riig4cnpa" path="res://asset/art/scene/c01/s10_公寓过道/ux_鬼差背景.png" id="2_k54st"]
[ext_resource type="SpriteFrames" uid="uid://c80mjx2sll6mg" path="res://asset/art/gif/c01_鬼差/c01_鬼差_frames.tres" id="3_rn65a"]
[ext_resource type="Texture2D" uid="uid://bbmblgnelt7w5" path="res://asset/art/gif/c01_鬼差/鬼差眼部光效/0.png" id="4_bpuqk"]
[ext_resource type="Texture2D" uid="uid://b856op2pgvkbv" path="res://asset/art/scene/c01/s10_公寓过道/ux_鬼差笼子.png" id="5_3fvsh"]
[ext_resource type="AudioStream" uid="uid://cjyodjgrthtm" path="res://asset/audio/sfx/交互/序章/06_公寓楼道_鬼差偷看.wav" id="5_c13qq"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="5_ug335"]
[ext_resource type="AudioStream" uid="uid://b8rg7adnnkjll" path="res://asset/audio/BGM/戏曲声.wav" id="7_72vl6"]
[ext_resource type="AudioStream" uid="uid://bi6gm533oqsa" path="res://asset/audio/BGM/街道背景音.wav" id="8_vputk"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="10_k54st"]
[sub_resource type="Animation" id="Animation_ug335"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sfx:volume_db")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [-40.0]
}
[sub_resource type="Animation" id="Animation_ptmad"]
resource_name = "鬼差探头"
length = 8.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("face_root:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.0066117, 1.1, 1.96667, 3.26667, 4.73333, 6.33333, 7.9),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(-87, -5), Vector2(-78, 3), Vector2(-66, 2), Vector2(-56, 5), Vector2(-45, 5), Vector2(-41, 10), Vector2(-40, 19)]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(5.03333, 6.7),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],
"method": &"play_bgm"
}, {
"args": [],
"method": &"pre_finished"
}]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Sfx:volume_db")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(6.93333, 7.9),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [-10.0, -80.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ug335"]
_data = {
&"RESET": SubResource("Animation_ug335"),
&"鬼差探头": SubResource("Animation_ptmad")
}
[sub_resource type="AudioStreamSynchronized" id="AudioStreamSynchronized_k54st"]
stream_count = 2
stream_0/stream = ExtResource("7_72vl6")
stream_0/volume = 5.0
stream_1/stream = ExtResource("8_vputk")
stream_1/volume = -4.0
[node name="S10鬼差探头" type="CanvasLayer"]
script = ExtResource("1_pvnth")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_ug335")
}
[node name="背景" type="Sprite2D" parent="."]
position = Vector2(-8, -18)
texture = ExtResource("2_k54st")
centered = false
[node name="face_root" type="Node2D" parent="."]
position = Vector2(-87, -5)
[node name="脸与眼" type="AnimatedSprite2D" parent="face_root"]
position = Vector2(359, 122)
sprite_frames = ExtResource("3_rn65a")
animation = &"鬼差的特写"
autoplay = "鬼差的特写"
[node name="PointLight2D" type="PointLight2D" parent="face_root/脸与眼"]
visible = false
texture = ExtResource("4_bpuqk")
[node name="柱子" type="Sprite2D" parent="."]
position = Vector2(38, 18)
texture = ExtResource("5_3fvsh")
centered = false
[node name="Sfx" type="AudioStreamPlayer" parent="."]
stream = ExtResource("5_c13qq")
volume_db = -40.0
bus = &"game_sfx"
script = ExtResource("5_ug335")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="背景音" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamSynchronized_k54st")
bus = &"game_sfx"
script = ExtResource("5_ug335")
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 = 2
texture = ExtResource("10_k54st")