xiandie/scene/ground/scene/c02/s05_一楼内侧楼道.tscn
2025-06-28 05:35:09 +08:00

327 lines
13 KiB
Plaintext

[gd_scene load_steps=39 format=3 uid="uid://cp8d3ag5nbjq0"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_6w6et"]
[ext_resource type="Script" uid="uid://dydpmjpcvt3v1" path="res://scene/ground/scene/c02/s05_一楼内侧楼道.gd" id="2_70lf6"]
[ext_resource type="Script" uid="uid://cpejxlfni6n52" path="res://manager/audio_manager/vibe_sfx.gd" id="3_laquj"]
[ext_resource type="Texture2D" uid="uid://dbtepltemtmy2" path="res://asset/art/scene/c02/s05_一楼内侧楼道/bg_楼道背景.png" id="3_rcuxq"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_tueh3"]
[ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/c02_杂项_frames.tres" id="7_mrltr"]
[ext_resource type="Texture2D" uid="uid://bn47plsx5coug" path="res://asset/art/scene/c02/s05_一楼内侧楼道/l_煤油灯光效.png" id="8_mrltr"]
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="8_rcuxq"]
[ext_resource type="Texture2D" uid="uid://by506ky6fprab" path="res://asset/art/scene/c02/s07_二楼内侧楼道/fg_前景.png" id="8_tueh3"]
[ext_resource type="PackedScene" uid="uid://0sofmhrl358m" path="res://scene/entity/npc.tscn" id="9_8t4w6"]
[ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="10_2yvhw"]
[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="10_8t4w6"]
[ext_resource type="PackedScene" uid="uid://c1vrp1o8ci512" path="res://scene/ground/script/c02/戏台特写.tscn" id="11_2yvhw"]
[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="13_uj0pt"]
[ext_resource type="Texture2D" uid="uid://c3wytxnirtx27" path="res://asset/art/scene/c02/s05_一楼内侧楼道/e_地上血迹.png" id="14_s2g5k"]
[ext_resource type="Texture2D" uid="uid://bpqcq0a0ffhlr" path="res://asset/art/scene/c02/s05_一楼内侧楼道/e_打开的通道.png" id="15_s2g5k"]
[ext_resource type="Texture2D" uid="uid://ctvw1qr1mpogb" path="res://asset/art/scene/c02/s05_一楼内侧楼道/e_放置粘鼠板.png" id="16_jknyg"]
[ext_resource type="PackedScene" uid="uid://dsa6frlw6e6gg" path="res://scene/entity/pickable.tscn" id="17_aofps"]
[ext_resource type="SpriteFrames" uid="uid://cvwdqa8gyqj4g" path="res://asset/art/gif/c02_老鼠拖肉/c02_老鼠拖肉_frames.tres" id="17_bk7rf"]
[ext_resource type="Texture2D" uid="uid://d1etd7hr23rir" path="res://asset/art/scene/c02/s05_一楼内侧楼道/e_掉落的肉.png" id="18_bk7rf"]
[ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="21_heq1x"]
[ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="22_heq1x"]
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="22_laquj"]
[ext_resource type="Script" uid="uid://jarjchqsx4u1" path="res://scene/ground/script/c02/event小蝉哼歌.gd" id="23_4c54f"]
[ext_resource type="AudioStream" uid="uid://bhaws2ungqaf5" path="res://asset/audio/sfx/交互/角色/sfx_哼歌.ogg" id="24_7mq0m"]
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="25_4k6pw"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n48fn"]
[sub_resource type="Gradient" id="Gradient_jj0ny"]
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_2yvhw"]
gradient = SubResource("Gradient_jj0ny")
width = 100
height = 130
fill = 1
[sub_resource type="Gradient" id="Gradient_mrltr"]
offsets = PackedFloat32Array(0, 0.421751, 0.779841)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0.486275, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_8t4w6"]
gradient = SubResource("Gradient_mrltr")
width = 100
height = 100
fill = 1
fill_from = Vector2(0.5, 0.5)
[sub_resource type="Gradient" id="Gradient_8t4w6"]
offsets = PackedFloat32Array(0, 0.574271, 1)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_jj0ny"]
gradient = SubResource("Gradient_8t4w6")
width = 10
height = 10
fill = 1
fill_from = Vector2(0.5, 0.5)
[sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"]
atlas = ExtResource("21_heq1x")
region = Rect2(0, 0, 6, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_th1ek"]
atlas = ExtResource("21_heq1x")
region = Rect2(6, 0, 6, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_to1d1"]
atlas = ExtResource("21_heq1x")
region = Rect2(12, 0, 6, 14)
[sub_resource type="AtlasTexture" id="AtlasTexture_nx6jy"]
atlas = ExtResource("21_heq1x")
region = Rect2(18, 0, 6, 14)
[sub_resource type="SpriteFrames" id="SpriteFrames_heq1x"]
animations = [{
"frames": [{
"duration": 3.0,
"texture": SubResource("AtlasTexture_chbaa")
}, {
"duration": 3.0,
"texture": SubResource("AtlasTexture_th1ek")
}, {
"duration": 3.0,
"texture": SubResource("AtlasTexture_to1d1")
}, {
"duration": 3.0,
"texture": SubResource("AtlasTexture_nx6jy")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]
[node name="S05" type="Node2D"]
metadata/_edit_horizontal_guides_ = [98.0]
[node name="Ground" parent="." instance=ExtResource("1_6w6et")]
scene_name = "c02_s05"
player_y = 60
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_n48fn")
}
script = ExtResource("2_70lf6")
data = {
"has_entered": false,
"oneshot_animation_played": false
}
oneshot_animation = ""
[node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"]
script = ExtResource("3_laquj")
autoplay_group = &"c02_楼道1"
metadata/_custom_type_script = "uid://cpejxlfni6n52"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_rcuxq")
offset = Vector2(0, -240)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(24, 8)
target_scene = "c02_s03"
target_portal = "2"
matched_sign_texture = null
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(734, 33)
matched_sign_texture = null
[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("4_tueh3")]
position = Vector2(513, 37)
debug_note = "通往 1012 房间"
portal_name = "1"
target_scene = "c02_s07"
target_portal = "right"
matched_sign_texture = null
[node name="Npc疯子" parent="Ground/DeployLayer" index="3" instance=ExtResource("9_8t4w6")]
light_mask = 7
position = Vector2(177, 37)
sprite_frames = ExtResource("7_mrltr")
animation = &"疯子坐姿"
autoplay = "疯子坐姿"
frame_progress = 0.539486
height = 25.0
dialogue_title = "c02_疯子_01"
[node name="PointLight2D2" type="PointLight2D" parent="Ground/DeployLayer/Npc疯子"]
position = Vector2(-2, 16)
energy = 0.8
range_item_cull_mask = 2
texture = SubResource("GradientTexture2D_2yvhw")
[node name="Ambush杂物堆" parent="Ground/DeployLayer" index="4" instance=ExtResource("8_rcuxq")]
position = Vector2(177, 50)
enabled = false
trigger_mode = "interact"
hook_method = "wood_puppet"
[node name="火苗" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="5"]
light_mask = 5
position = Vector2(239, 52)
scale = Vector2(0.4, 0.4)
sprite_frames = ExtResource("7_mrltr")
animation = &"火苗"
autoplay = "火苗"
[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/火苗"]
position = Vector2(0, 5)
scale = Vector2(2.5, 2.5)
color = Color(0.983522, 0.730307, 0.518099, 1)
energy = 0.5
texture = SubResource("GradientTexture2D_8t4w6")
texture_scale = 2.0
[node name="PointLight2D3" type="PointLight2D" parent="Ground/DeployLayer/火苗"]
position = Vector2(0, 5)
scale = Vector2(2.5, 2.5)
color = Color(0.983522, 0.730307, 0.518099, 1)
energy = 0.5
range_item_cull_mask = 4
texture = SubResource("GradientTexture2D_jj0ny")
texture_scale = 2.0
[node name="PointLight2D2" type="PointLight2D" parent="Ground/DeployLayer/火苗"]
position = Vector2(-30, -370)
scale = Vector2(2.5, 2.5)
color = Color(0.992732, 0.834742, 0.687267, 1)
energy = 1.5
range_item_cull_mask = 4
texture = ExtResource("8_mrltr")
[node name="Closeup戏台" parent="Ground/DeployLayer" index="6" instance=ExtResource("10_2yvhw")]
position = Vector2(320, 23)
packed_scene = ExtResource("11_2yvhw")
first_interact_os_key = "c02_一楼戏台"
[node name="Note一楼内侧通道" parent="Ground/DeployLayer" index="7" instance=ExtResource("10_8t4w6")]
position = Vector2(394, 26)
title_filter = "c02"
note_key = "c02_一楼楼道被挡住"
[node name="Note垃圾通道" parent="Ground/DeployLayer" index="8" instance=ExtResource("10_8t4w6")]
position = Vector2(660, -1)
title_filter = "c02"
note_key = "c02_描述垃圾通道"
[node name="打开的垃圾桶盖" type="Sprite2D" parent="Ground/DeployLayer" index="9"]
position = Vector2(660, 8)
texture = ExtResource("15_s2g5k")
[node name="Interactable粘鼠板" parent="Ground/DeployLayer" index="10" instance=ExtResource("13_uj0pt")]
position = Vector2(604, 81)
first_interact_os_key = "c02_一楼粘鼠板"
disable_prop_after_interacted = true
interacted_texture = ExtResource("16_jknyg")
prop_key = "prop_粘鼠板"
[node name="Sprite2D" type="Sprite2D" parent="Ground/DeployLayer/Interactable粘鼠板"]
show_behind_parent = true
position = Vector2(-1, 17)
texture = ExtResource("14_s2g5k")
[node name="粘鼠挣扎" type="AnimatedSprite2D" parent="Ground/DeployLayer/Interactable粘鼠板"]
visible = false
position = Vector2(0, 5)
sprite_frames = ExtResource("17_bk7rf")
animation = &"老鼠被黏住动画_无肉"
[node name="粘鼠死亡" type="AnimatedSprite2D" parent="Ground/DeployLayer/Interactable粘鼠板"]
visible = false
position = Vector2(0, 5)
sprite_frames = ExtResource("17_bk7rf")
animation = &"老鼠被黏住死亡"
[node name="Ambush老鼠叼肉" parent="Ground/DeployLayer" index="11" instance=ExtResource("8_rcuxq")]
position = Vector2(585, 80)
one_shot = false
hook_method = "mouse_pick_meat"
[node name="老鼠叼肉" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="12"]
visible = false
position = Vector2(687, 69)
sprite_frames = ExtResource("17_bk7rf")
animation = &"奇怪的肉被拖进去动画"
[node name="Pickable掉落的肉" parent="Ground/DeployLayer" index="13" instance=ExtResource("17_aofps")]
visible = false
position = Vector2(668, 85)
texture = ExtResource("18_bk7rf")
sign_mark_offset = Vector2(-2.98, -9.86)
enabled = false
collision_width_and_x = Vector2(43.96, 0)
prop_key = "prop_奇怪的肉"
[node name="小蜡烛" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="14"]
self_modulate = Color(0.611765, 0.611765, 0.611765, 1)
position = Vector2(627.8, 79.6172)
sprite_frames = SubResource("SpriteFrames_heq1x")
autoplay = "default"
[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer" index="15"]
position = Vector2(627.8, 66.8)
color = Color(0.999971, 0.912551, 0.842208, 1)
energy = 1.2
texture = ExtResource("22_laquj")
texture_scale = 0.3
[node name="Ambush小蝉消失" parent="Ground/DeployLayer" index="16" instance=ExtResource("8_rcuxq")]
visible = false
visibility_layer = 5
position = Vector2(394, 53)
enabled = false
hook_method = "xiaochan_disappear"
[node name="ProSprite" parent="Ground/DeployLayer/Ambush小蝉消失" instance=ExtResource("22_heq1x")]
position = Vector2(-180, 5)
sprite_frames = ExtResource("7_mrltr")
animation = &"小蝉背对转头"
autoplay = "小蝉背对呼吸帧"
flip_h = true
[node name="Event2D小蝉哼歌" type="Node2D" parent="Ground/DeployLayer" index="17"]
position = Vector2(92, 38)
script = ExtResource("23_4c54f")
event = "c02_madman_interacted"
metadata/_custom_type_script = "uid://bkkiyk5jkdw4d"
[node name="Sfx2D小蝉哼歌" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Event2D小蝉哼歌"]
process_mode = 1
position = Vector2(-103, -11)
stream = ExtResource("24_7mq0m")
volume_db = 20.0
max_distance = 1000.0
bus = &"game_sfx"
script = ExtResource("25_4k6pw")
loop = true
metadata/_custom_type_script = "uid://wapo47a1oddf"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(41, 98)
[node name="AudioListener2D" type="AudioListener2D" parent="Ground/MainPlayer" index="6"]
current = true
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(45, -9)
scale = Vector2(1.1, 1.1)
texture = ExtResource("8_tueh3")
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(23, 150, 700, 150)
[node name="DirectionalLight2D" parent="Ground" index="8"]
energy = 0.9
blend_mode = 1
[editable path="Ground"]