xiandie/scene/ground/scene/c01/s12_书店外_诡异版.tscn

313 lines
12 KiB
Plaintext

[gd_scene load_steps=34 format=3 uid="uid://bol5hl68pbpgq"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_llw14"]
[ext_resource type="Script" uid="uid://bh4h0e158t1oj" path="res://scene/ground/scene/c01/s12_书店外_诡异版.gd" id="2_krdvw"]
[ext_resource type="Texture2D" uid="uid://bc64s5xfysrc3" path="res://asset/art/scene/c01/s07_书店外/bg_书店外_夜晚.png" id="3_npdxo"]
[ext_resource type="Script" uid="uid://bbg4vopj4apl6" path="res://scene/entity/audio/bgm_control.gd" id="3_p7n7n"]
[ext_resource type="Texture2D" uid="uid://ctukk7c8xo4uc" path="res://asset/art/scene/c01/s07_书店外/e_装饰 书店外夜晚.png" id="4_c1x3p"]
[ext_resource type="AudioStream" uid="uid://c1orqd7uxh8iu" path="res://asset/audio/sfx/环境音/序章/05_诡异通用_2.wav" id="4_mxf8g"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_o7hfk"]
[ext_resource type="AudioStream" uid="uid://c68e38rel4xrs" path="res://asset/audio/sfx/交互/序章/sfx_鬼差出场.wav" id="5_5qtdl"]
[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="5_6jrnc"]
[ext_resource type="PackedScene" uid="uid://svvlohuicvhf" path="res://scene/entity/ambient/light.tscn" id="5_kywnm"]
[ext_resource type="PackedScene" uid="uid://dnbutraty2285" path="res://scene/entity/partical/particals_ash_vertical.tscn" id="6_mfjjt"]
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="6_mxf8g"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="6_p7n7n"]
[ext_resource type="PackedScene" uid="uid://ci34db7xool2n" path="res://scene/ground/script/c01/s01_书店外_自动枯萎的花朵.tscn" id="7_aq8vg"]
[ext_resource type="AudioStream" uid="uid://c5rgfl6ub4chw" path="res://asset/audio/sfx/交互/序章/sfx_鬼差擦肩而过.wav" id="7_denrd"]
[ext_resource type="PackedScene" uid="uid://h0s5ms7r7d8g" path="res://scene/effect/ghost.tscn" id="8_gk0gq"]
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="9_nqlku"]
[ext_resource type="Script" uid="uid://dxq5c05ab7uyu" path="res://scene/ground/script/c01/s00_ghost_footstep.gd" id="10_1tspp"]
[ext_resource type="PackedScene" uid="uid://cn1ypquvs07wx" path="res://scene/ground/script/c01/s12_飘动的寻人启事.tscn" id="11_pwu7i"]
[ext_resource type="PackedScene" uid="uid://nwpbl5yuh280" path="res://scene/ground/script/c01/s00_自动跟随的老鼠.tscn" id="12_qpv8m"]
[ext_resource type="SpriteFrames" uid="uid://cvkuw35ulebme" path="res://asset/art/gif/c01_书店外街道/c01_书店外街道_frames.tres" id="13_lucm6"]
[ext_resource type="SpriteFrames" uid="uid://db7m3aks5w65j" path="res://asset/art/gif/c01_书店外街道_夜晚小孩害怕/c01_书店外街道_夜晚小孩害怕_frames.tres" id="14_7jjl5"]
[ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="14_ct084"]
[ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog.tscn" id="15_pvvjq"]
[ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="16_guu7t"]
[ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="17_nta2f"]
[ext_resource type="Texture2D" uid="uid://dol25yn3fixim" path="res://asset/art/fog_mask.png" id="19_7jjl5"]
[sub_resource type="Animation" id="Animation_48eje"]
resource_name = "intro"
tracks/0/type = "method"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimationPlayer")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.0333333),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"intro"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_38lx7"]
_data = {
&"intro": SubResource("Animation_48eje")
}
[sub_resource type="FastNoiseLite" id="FastNoiseLite_jw18h"]
noise_type = 2
fractal_type = 2
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_rdmp5"]
width = 2000
height = 400
seamless = true
seamless_blend_skirt = 0.25
noise = SubResource("FastNoiseLite_jw18h")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7jjl5"]
resource_local_to_scene = true
shader = ExtResource("16_guu7t")
shader_parameter/noise = SubResource("NoiseTexture2D_rdmp5")
shader_parameter/grey_level = 0.6
shader_parameter/speed = 0.5
[sub_resource type="SpriteFrames" id="SpriteFrames_p7n7n"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("19_7jjl5")
}],
"loop": false,
"name": &"default",
"speed": 5.0
}]
[node name="S12" type="Node2D"]
metadata/_edit_horizontal_guides_ = [88.0]
[node name="Ground" parent="." instance=ExtResource("1_llw14")]
scene_name = "c01_s12"
player_y = 60
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_38lx7")
}
script = ExtResource("2_krdvw")
oneshot_animation = "intro"
[node name="BgmControl" type="Node" parent="Ground/AnimationPlayer" index="0"]
script = ExtResource("3_p7n7n")
bgm_title = "诡异环境音2"
bgm_stream = ExtResource("4_mxf8g")
metadata/_custom_type_script = "uid://bbg4vopj4apl6"
[node name="Sfx鬼差出场" type="AudioStreamPlayer2D" parent="Ground/AnimationPlayer" index="1"]
process_mode = 1
position = Vector2(1443, 41)
stream = ExtResource("5_5qtdl")
bus = &"game_sfx"
script = ExtResource("6_mxf8g")
metadata/_custom_type_script = "uid://wapo47a1oddf"
[node name="Sfx鬼差擦肩而过" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
process_mode = 1
stream = ExtResource("7_denrd")
bus = &"game_sfx"
script = ExtResource("6_p7n7n")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
texture = ExtResource("3_npdxo")
offset = Vector2(0, -158)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
target_scene = "c01_s09"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(1, 0)
target_scene = "c01_s08"
[node name="portal_2" parent="Ground/DeployLayer" index="2" instance=ExtResource("4_o7hfk")]
position = Vector2(995, 28)
debug_note = "c01_s12 的 2 号门通往书店"
portal_name = "2"
target_scene = "c01_s08"
target_portal = "left"
status = "opened"
[node name="背景" type="Sprite2D" parent="Ground/DeployLayer" index="3"]
position = Vector2(1786, 5)
texture = ExtResource("4_c1x3p")
[node name="自动枯萎的花朵" parent="Ground/DeployLayer" index="4" node_paths=PackedStringArray("focus_node") instance=ExtResource("7_aq8vg")]
position = Vector2(-9, 87)
focus_node = NodePath("../Ghost")
total_num = 350
weights = PackedFloat64Array(10, 10, 10, 10, 10, 10, 10, 10, 10, 10)
[node name="自动跟随的老鼠" parent="Ground/DeployLayer/自动枯萎的花朵" instance=ExtResource("12_qpv8m")]
z_index = -1
position = Vector2(7, 4)
action_area = Vector2(3100, 40)
move_speed = 100.0
scatter_on_start = true
[node name="Ghost" parent="Ground/DeployLayer" index="5" instance=ExtResource("8_gk0gq")]
visible = false
z_index = 10
position = Vector2(1127, 28)
[node name="Ambush玩家被抓" parent="Ground/DeployLayer/Ghost" instance=ExtResource("9_nqlku")]
enabled = false
one_shot = false
freeze_time = 0.1
hook_method = "player_been_catched"
[node name="脚步声2D" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Ghost"]
max_distance = 1500.0
bus = &"game_sfx"
script = ExtResource("10_1tspp")
[node name="飘动的寻人启事" parent="Ground/DeployLayer" index="6" instance=ExtResource("11_pwu7i")]
z_index = 6
position = Vector2(1021, -48)
[node name="陆仁舞刀" parent="Ground/DeployLayer" index="7" instance=ExtResource("14_ct084")]
position = Vector2(1748, 10)
sprite_frames = ExtResource("13_lucm6")
animation = &"陆仁擦刀"
autoplay = "陆仁擦刀"
action_configs = Array[Dictionary]([{
"animation_intro": &"陆仁收刀",
&"animation_next": "陆仁收刀后呼吸",
"animation_wait_time": 0.0,
"intro_loop": 1
}])
[node name="其余小孩" parent="Ground/DeployLayer" index="8" instance=ExtResource("14_ct084")]
position = Vector2(1911, 16)
sprite_frames = ExtResource("14_7jjl5")
animation = &"夜晚其余小孩杂耍"
autoplay = "夜晚其余小孩杂耍"
action_configs = Array[Dictionary]([{
"animation_intro": "夜晚其余小孩杂耍到害怕过渡",
&"animation_next": "夜晚其余小孩害怕",
"animation_wait_time": 0.0,
"intro_loop": 1
}])
[node name="举腿小孩" parent="Ground/DeployLayer" index="9" instance=ExtResource("14_ct084")]
position = Vector2(1822, 10)
sprite_frames = ExtResource("14_7jjl5")
animation = &"夜晚举腿小孩杂耍"
autoplay = "夜晚举腿小孩杂耍"
action_configs = Array[Dictionary]([{
"animation_intro": "夜晚举腿小孩杂耍到害怕过渡",
"animation_next": "夜晚举腿小孩害怕",
"animation_wait_time": 0.0,
"intro_loop": 1
}])
[node name="举碗小孩" parent="Ground/DeployLayer" index="10" instance=ExtResource("14_ct084")]
position = Vector2(1792, 13)
sprite_frames = ExtResource("13_lucm6")
animation = &"杂戏团夜晚_小孩举碗呼吸"
autoplay = "杂戏团夜晚_小孩举碗呼吸"
action_configs = Array[Dictionary]([{
"animation_intro": "杂戏团夜晚_小孩放下碗",
"animation_next": "举碗小孩呼吸",
"animation_wait_time": 0.0,
"intro_loop": 1
}, {
"animation_intro": "举碗小孩害怕过渡",
&"animation_next": "举碗小孩害怕",
"animation_wait_time": 0.0,
"intro_loop": 1
}])
[node name="Ambush举碗小孩" parent="Ground/DeployLayer/举碗小孩" instance=ExtResource("9_nqlku")]
position = Vector2(0, 53)
trigger_mode = "interact"
hook_method = "ambush_begger_interacted"
[node name="Interactable碗" parent="Ground/DeployLayer/举碗小孩" instance=ExtResource("5_6jrnc")]
position = Vector2(0, 53)
enabled = false
disable_prop_after_interacted = true
prop_key = "prop_银元"
[node name="Fog" parent="Ground/DeployLayer" index="11" instance=ExtResource("15_pvvjq")]
z_index = 10
material = SubResource("ShaderMaterial_7jjl5")
position = Vector2(3131, -50)
sprite_frames = SubResource("SpriteFrames_p7n7n")
animation = &"default"
frame = 0
[node name="AmbushSuccess" parent="Ground/DeployLayer/Fog" instance=ExtResource("9_nqlku")]
position = Vector2(0, 92)
enabled = false
one_shot = false
freeze_time = 1.0
hook_method = "player_run_away"
[node name="Light" parent="Ground/AmbientLayer" index="0" instance=ExtResource("5_kywnm")]
position = Vector2(999, -5)
texture = null
ambient_light_scale = 1.2
ambient_light_energy = 0.6
ambient_light_color = Color(0.986481, 0.370829, 0.371193, 1)
[node name="Light2" parent="Ground/AmbientLayer" index="1" instance=ExtResource("5_kywnm")]
position = Vector2(1240, -6)
texture = null
ambient_light_scale = 1.2
ambient_light_energy = 0.6
ambient_light_color = Color(0.986481, 0.370829, 0.371193, 1)
[node name="ParticalsAsh" parent="Ground/AmbientLayer" index="2" instance=ExtResource("6_mfjjt")]
position = Vector2(1721, -169)
[node name="ParticalsAsh2" parent="Ground/AmbientLayer" index="3" instance=ExtResource("6_mfjjt")]
position = Vector2(1163, -161)
[node name="ParticalsAsh3" parent="Ground/AmbientLayer" index="4" instance=ExtResource("6_mfjjt")]
position = Vector2(2009, -139)
[node name="PointLight2D花" type="PointLight2D" parent="Ground/AmbientLayer" index="5"]
position = Vector2(317, 69)
energy = 0.7
range_item_cull_mask = 2
texture = ExtResource("17_nta2f")
[node name="PointLight2D花2" type="PointLight2D" parent="Ground/AmbientLayer" index="6"]
position = Vector2(518, 69)
energy = 0.7
range_item_cull_mask = 2
texture = ExtResource("17_nta2f")
[node name="PointLight2D花3" type="PointLight2D" parent="Ground/AmbientLayer" index="7"]
position = Vector2(1031, 48)
color = Color(0.95127, 0.455775, 0.326473, 1)
energy = 0.7
range_item_cull_mask = 2
texture = ExtResource("17_nta2f")
[node name="PointLight2D花4" type="PointLight2D" parent="Ground/AmbientLayer" index="8"]
position = Vector2(1232, 48)
color = Color(0.95127, 0.455775, 0.326473, 1)
energy = 0.7
range_item_cull_mask = 2
texture = ExtResource("17_nta2f")
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(41, 98)
character = "小小蝶"
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(37, 150, 3050, 150)
[node name="DirectionalLight2D" parent="Ground" index="8"]
energy = 0.4
blend_mode = 1
[editable path="Ground"]