From eaf654b8d1287007e47c7a995a228f4b5ec51d32 Mon Sep 17 00:00:00 2001 From: cakipaul Date: Thu, 14 Aug 2025 19:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86=E9=99=A2=E5=AD=90=E4=B8=8E?= =?UTF-8?q?=E4=BA=8C=E6=A5=BC=EF=BC=9A=E7=AC=AC=E4=B8=80=E7=AB=A0=E4=B8=8E?= =?UTF-8?q?=E7=AC=AC=E4=BA=8C=E7=AB=A0=E5=88=86=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scene/ground/ground_loader.gd | 20 + scene/ground/scene/c02/s03_院子.gd | 31 +- scene/ground/scene/c02/s03_院子.tscn | 633 +------------ scene/ground/scene/c02/s06_二楼.gd | 27 - scene/ground/scene/c02/s06_二楼.tscn | 164 +--- scene/ground/scene/c03/s13_院子II.gd | 120 +++ scene/ground/scene/c03/s13_院子II.gd.uid | 1 + scene/ground/scene/c03/s13_院子II.tscn | 1066 ++++++++++++++++++++++ scene/ground/scene/c03/s14_二楼II.gd | 66 ++ scene/ground/scene/c03/s14_二楼II.gd.uid | 1 + scene/ground/scene/c03/s14_二楼II.tscn | 529 +++++++++++ 11 files changed, 1837 insertions(+), 821 deletions(-) create mode 100644 scene/ground/scene/c03/s13_院子II.gd create mode 100644 scene/ground/scene/c03/s13_院子II.gd.uid create mode 100644 scene/ground/scene/c03/s13_院子II.tscn create mode 100644 scene/ground/scene/c03/s14_二楼II.gd create mode 100644 scene/ground/scene/c03/s14_二楼II.gd.uid create mode 100644 scene/ground/scene/c03/s14_二楼II.tscn diff --git a/scene/ground/ground_loader.gd b/scene/ground/ground_loader.gd index b1face44..9bdc5bc7 100644 --- a/scene/ground/ground_loader.gd +++ b/scene/ground/ground_loader.gd @@ -45,9 +45,17 @@ const GROUND_SCENE_PATH_DICT: Dictionary[String, Dictionary] = { "c03_s10": {"path": "uid://clgwc3jcqarpe", "name": "胖子游戏1"}, "c03_s11": {"path": "uid://shgrg8qcr1cu", "name": "胖子游戏2"}, "c03_s12": {"path": "uid://cxabqg87g4vxc", "name": "胖子游戏3"}, + "c03_s13": {"path": "uid://b1elo74u56fap", "name": "院子II"}, + "c03_s14": {"path": "uid://dtu1ou7prh07o", "name": "二楼II"}, "c04_s01": {"path": "uid://drjnu33pga6i5", "name": "父母房间"}, } +# scene_name -> { chapter -> scene_name} +const TRANSPORT_REPLACEMENT_DICT: Dictionary[String, Dictionary] = { + "c02_s03": {3: "c03_s13", 4: "c03_s13", 5: "c03_s13", 6: "c03_s13"}, + "c02_s06": {3: "c03_s14", 4: "c03_s14", 5: "c03_s14", 6: "c03_s14"}, +} + # Exports @export var ignore_archive := false @export var current_scene := "c02_s01" @@ -160,9 +168,21 @@ func toggle_mask( return tween +func _replace_scene_by_chapter(scene_name: String) -> String: + if TRANSPORT_REPLACEMENT_DICT.has(scene_name): + var chapter := EventManager.get_chapter_stage() + if TRANSPORT_REPLACEMENT_DICT[scene_name].has(chapter): + var replaced = TRANSPORT_REPLACEMENT_DICT[scene_name][chapter] + prints("GroundLoader _replace_scene_by_chapter: replaced", scene_name, "with", replaced) + return replaced + return scene_name + + func transition_to_scene( scene_name: String, portal: String, wait_time := DEFAULT_TRANSITION_TIME, color := Color.BLACK ) -> void: + # 检查 TRANSPORT_REPLACEMENT_DICT + scene_name = _replace_scene_by_chapter(scene_name) if not GROUND_SCENE_PATH_DICT.has(scene_name): print("Scene not found: " + scene_name) return diff --git a/scene/ground/scene/c02/s03_院子.gd b/scene/ground/scene/c02/s03_院子.gd index 18326100..9fd08fd5 100644 --- a/scene/ground/scene/c02/s03_院子.gd +++ b/scene/ground/scene/c02/s03_院子.gd @@ -91,7 +91,7 @@ func _on_ground_ready() -> void: # 奠字 + 纸钱 var show_coin_rain := false if EventManager.get_chapter_stage() <= 2: - show_coin_rain = ArchiveManager.get_global_value(&"c02_show_grounded_coins") + show_coin_rain = ArchiveManager.get_global_value(&"c02_show_grounded_coins", false) elif EventManager.get_chapter_stage() >= 3: # 已拿钥匙 show_coin_rain = EventManager.get_stage("c03_li_paperwoman") >= 5 @@ -369,32 +369,3 @@ func run_away(): camera.force_offset.x = 0.0 SceneManager.unlock_player() SceneManager.get_ground_loader().transition_to_scene("c02_s06", "right") - - -# 保卫科灯光闪烁 -func c03_light_flip0() -> void: - var light = $"../DeployLayer/煤油灯3/PointLight2D" - Util.timer(2.5, _flip_light.bind(light)) - $"Sfx风吹过".play() - await SceneManager.lock_player(0, 22) # 风吹过 - SceneManager.pop_os_with_str("c03_冷飕飕风吹过") - SceneManager.unlock_player() - - -func c03_light_flip1() -> void: - var light = $"../DeployLayer/煤油灯2/PointLight2D" - _flip_light(light) - - -func c03_light_flip2() -> void: - var light = $"../DeployLayer/煤油灯/PointLight2D" - _flip_light(light) - - -func _flip_light(light:PointLight2D)->void: - var default_energy = light.energy - var tween = create_tween() - tween.tween_property(light, "energy", default_energy * 0.25, 0.5) - tween.tween_property(light, "energy", default_energy * 0.6, 0.2) - tween.tween_property(light, "energy", default_energy * 0.1, 0.3) - tween.tween_property(light, "energy", default_energy, 0.4) \ No newline at end of file diff --git a/scene/ground/scene/c02/s03_院子.tscn b/scene/ground/scene/c02/s03_院子.tscn index abfd5ead..5d3e21d4 100644 --- a/scene/ground/scene/c02/s03_院子.tscn +++ b/scene/ground/scene/c02/s03_院子.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=122 format=3 uid="uid://djc2uaefhmu7"] +[gd_scene load_steps=85 format=3 uid="uid://djc2uaefhmu7"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0dylx"] [ext_resource type="Script" uid="uid://dsp5plrdkrsd7" path="res://scene/ground/scene/c02/s03_院子.gd" id="2_dt5aj"] @@ -33,7 +33,6 @@ [ext_resource type="Texture2D" uid="uid://0x7cl2cmcs6l" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕2.png" id="11_g0qhj"] [ext_resource type="Script" uid="uid://3p6e8f385kow" path="res://scene/ground/script/c02/event_2d_xchan_run_after_got_pliers.gd" id="11_lq23y"] [ext_resource type="SpriteFrames" uid="uid://di43shn22n5ph" path="res://asset/art/gif/c00_通用动作/c00_通用动作_frames.tres" id="11_o1qbs"] -[ext_resource type="AudioStream" uid="uid://c68e38rel4xrs" path="res://asset/audio/sfx/交互/序章/sfx_鬼差出场.ogg" id="11_pjl66"] [ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="12_2b6vx"] [ext_resource type="Texture2D" uid="uid://c8b80a75k3qw6" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_院子地上纸钱.png" id="14_qqdxs"] [ext_resource type="Texture2D" uid="uid://douwcahbhr1wt" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_楼梯人群.png" id="18_crgo6"] @@ -58,41 +57,13 @@ [ext_resource type="Texture2D" uid="uid://bcc7ni57tohwb" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕6.png" id="35_o1qbs"] [ext_resource type="PackedScene" uid="uid://0sofmhrl358m" path="res://scene/entity/npc.tscn" id="35_plfv5"] [ext_resource type="Texture2D" uid="uid://uh2ruegr3d7v" path="res://asset/art/gif/c02_一楼火灾/7-最左木箱 烧痕.png" id="36_rnk1v"] -[ext_resource type="Script" uid="uid://chgyivvdw22cw" path="res://scene/ground/script/c02/s03_event_2d抓药游戏.gd" id="38_g0s7j"] [ext_resource type="SpriteFrames" uid="uid://b0icyhxpj16tv" path="res://asset/art/gif/c02_谢幕演出/c02_谢幕演出_frames.tres" id="39_rnk1v"] -[ext_resource type="SpriteFrames" uid="uid://ck660fpn3004k" path="res://asset/art/gif/c03_抓药游戏/c03_抓药游戏_frames.tres" id="40_h2lyo"] -[ext_resource type="AudioStream" uid="uid://c5rgfl6ub4chw" path="res://asset/audio/sfx/交互/序章/sfx_鬼差擦肩而过.ogg" id="41_colp3"] -[ext_resource type="Texture2D" uid="uid://dbwknogtlqb3x" path="res://asset/art/scene/c03/s00_院子与其他/e_药车前纸人.png" id="42_obchk"] -[ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="42_yk6yp"] -[ext_resource type="PackedScene" uid="uid://cpxt082my5yac" path="res://scene/ground/script/c02/s03_closeup抓药游戏.tscn" id="45_fxne6"] [ext_resource type="AudioStream" uid="uid://broetvd8vuc05" path="res://asset/audio/peiyin/c02/c02_8小男孩童谣.ogg" id="46_qqdxs"] [ext_resource type="Script" uid="uid://cnt01hiw52bmn" path="res://scene/entity/ux/sign_snapper.gd" id="51_vddfx"] [ext_resource type="AudioStream" uid="uid://bxp3f263aaqkp" path="res://asset/audio/sfx/脚步/02_室外_1.ogg" id="52_qqdxs"] [ext_resource type="AudioStream" uid="uid://dwa7xdvg5o0i" path="res://asset/audio/sfx/脚步/02_室外_3.ogg" id="53_jhod7"] [ext_resource type="AudioStream" uid="uid://d3h0xe0qtai18" path="res://asset/audio/sfx/脚步/02_室外_2.ogg" id="54_lq23y"] [ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="54_o1qbs"] -[ext_resource type="Script" uid="uid://b1taymx4iow6k" path="res://scene/ground/script/c02/s05_event_2d浆糊.gd" id="64_1w4fq"] -[ext_resource type="Texture2D" uid="uid://kt7orklmtuqf" path="res://asset/art/scene/c03/s00_院子与其他/场景浆糊.png" id="64_deuom"] -[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="65_rgrem"] -[ext_resource type="SpriteFrames" uid="uid://vadgcpixpkj1" path="res://asset/art/gif/c03_一楼胖李癞/c03_一楼胖李癞_frames.tres" id="66_deuom"] -[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="67_h2lyo"] -[ext_resource type="Script" uid="uid://cts4fvgir2lur" path="res://scene/ground/script/c02/s03_event_2d第二章结束井边演出.gd" id="72_18q2p"] -[ext_resource type="Script" uid="uid://bkkiyk5jkdw4d" path="res://manager/event_manager/event2d.gd" id="73_lt8c0"] -[ext_resource type="Texture2D" uid="uid://bjdy0o0qngukl" path="res://asset/art/scene/c03/s00_院子与其他/e_运尸车.png" id="74_f5g0l"] -[ext_resource type="Script" uid="uid://b5to0url3t7h4" path="res://scene/ground/script/c02/s03_event李氏给药完成.gd" id="75_0ek7o"] -[ext_resource type="SpriteFrames" uid="uid://cmvr3lbwe3h7p" path="res://asset/art/gif/c03_特写与游戏动画/c03_特写与游戏动画_frames.tres" id="75_allmh"] -[ext_resource type="AudioStream" uid="uid://wlxm47uvgdh" path="res://asset/audio/sfx/交互/角色/sfx_小蝶惊醒喘气_伴随特效.ogg" id="77_0kbwx"] -[ext_resource type="Texture2D" uid="uid://rsk3dkai37hu" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_楼梯人群_前景.png" id="77_6y26q"] -[ext_resource type="Script" uid="uid://3umabu63j1t5" path="res://scene/ground/script/c02/s03_event第三章开幕.gd" id="77_ndc6g"] -[ext_resource type="Texture2D" uid="uid://by7ibwt45ndlm" path="res://asset/art/scene/c03/s00_第三章开幕/第三章开场.png" id="77_pyl5w"] -[ext_resource type="SpriteFrames" uid="uid://cvjl0m6b5oc6f" path="res://asset/art/gif/c03_棺材怪/c03_棺材怪_frames.tres" id="77_ru58d"] -[ext_resource type="Texture2D" uid="uid://mbtx17tg24pl" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_诡异纸人_前景.png" id="78_5mk2s"] -[ext_resource type="Texture2D" uid="uid://cyb7wxwadqhht" path="res://asset/art/scene/c03/s00_第三章开幕/二楼栏杆.png" id="78_ndc6g"] -[ext_resource type="Texture2D" uid="uid://0d7afuay7x0k" path="res://asset/art/scene/c03/s00_第三章开幕/三楼栏杆.png" id="79_0ek7o"] -[ext_resource type="Texture2D" uid="uid://iochvxxj4oji" path="res://asset/art/scene/c03/s00_第三章开幕/邻居1.png" id="86_j6i36"] -[ext_resource type="Texture2D" uid="uid://b1omqxct4hws2" path="res://asset/art/scene/c03/s00_第三章开幕/邻居2.png" id="87_y7f1y"] -[ext_resource type="Texture2D" uid="uid://dr222pgv54efg" path="res://asset/art/scene/c03/s00_第三章开幕/邻居3.png" id="88_y7f1y"] -[ext_resource type="AudioStream" uid="uid://ysq73lgj8454" path="res://asset/audio/sfx/交互/第二章/花盆碎裂.ogg" id="91_iqe85"] [sub_resource type="Animation" id="Animation_rt2lh"] length = 0.001 @@ -235,42 +206,6 @@ size = Vector2(20, 70) [sub_resource type="RectangleShape2D" id="RectangleShape2D_mdix7"] size = Vector2(5, 100) -[sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"] -atlas = ExtResource("42_yk6yp") -region = Rect2(0, 0, 6, 14) - -[sub_resource type="AtlasTexture" id="AtlasTexture_th1ek"] -atlas = ExtResource("42_yk6yp") -region = Rect2(6, 0, 6, 14) - -[sub_resource type="AtlasTexture" id="AtlasTexture_to1d1"] -atlas = ExtResource("42_yk6yp") -region = Rect2(12, 0, 6, 14) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nx6jy"] -atlas = ExtResource("42_yk6yp") -region = Rect2(18, 0, 6, 14) - -[sub_resource type="SpriteFrames" id="SpriteFrames_18q2p"] -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 -}] - [sub_resource type="SpriteFrames" id="SpriteFrames_0o4rt"] animations = [{ "frames": [{ @@ -328,57 +263,6 @@ streams_count = 2 stream_0/stream = SubResource("AudioStreamSynchronized_qt2qg") stream_1/stream = SubResource("AudioStreamSynchronized_2b6vx") -[sub_resource type="Animation" id="Animation_0ek7o"] -length = 0.001 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("CameraPivot:position") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 0, -"values": [Vector2(234, -1)] -} - -[sub_resource type="Animation" id="Animation_ndc6g"] -resource_name = "intro_c04" -length = 18.0 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("CameraPivot:position") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0, 4.3, 12.8, 17.9), -"transitions": PackedFloat32Array(1, 1, 1, 1), -"update": 0, -"values": [Vector2(234, -1), Vector2(234, -460), Vector2(234, -460), Vector2(234, 0)] -} -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(11.1), -"transitions": PackedFloat32Array(1), -"values": [{ -"args": [], -"method": &"pop_chapter_notification" -}] -} - -[sub_resource type="AnimationLibrary" id="AnimationLibrary_0ek7o"] -_data = { -&"RESET": SubResource("Animation_0ek7o"), -&"intro_c04": SubResource("Animation_ndc6g") -} - [sub_resource type="Gradient" id="Gradient_em2ma"] offsets = PackedFloat32Array(0.00928382, 0.681698, 1) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0) @@ -787,169 +671,36 @@ z_index = 11 position = Vector2(1025, 27) texture = ExtResource("22_3y5s5") -[node name="Event2D抓药游戏" type="Node2D" parent="Ground/DeployLayer" index="24"] -script = ExtResource("38_g0s7j") -event_name = &"c03_drug_game" -event_stages = Array[int]([0, 1]) -pre_event_name = &"current_chapter_stage" -pre_event_mode = "hide" -pre_event_stages = Array[int]([0, 1, 2]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="Note药车需知" parent="Ground/DeployLayer/Event2D抓药游戏" instance=ExtResource("6_t48d1")] -position = Vector2(990, 1) -action = 3 -title_filter = "c03" -note_key = "c03_药车须知" - -[node name="Sfx2D药车铃铛声_右" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Event2D抓药游戏"] -position = Vector2(1138, 26) -stream = ExtResource("11_pjl66") -attenuation = 2.0 -bus = &"game_sfx" -script = ExtResource("54_o1qbs") -metadata/_custom_type_script = "uid://wapo47a1oddf" - -[node name="Sfx2D药车铃铛声_左" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Event2D抓药游戏"] -position = Vector2(745, 14) -stream = ExtResource("11_pjl66") -attenuation = 2.0 -bus = &"game_sfx" -script = ExtResource("54_o1qbs") -metadata/_custom_type_script = "uid://wapo47a1oddf" - -[node name="Sfx药车鬼影擦肩" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D抓药游戏"] -stream = ExtResource("41_colp3") -bus = &"game_sfx" -script = ExtResource("4_ygnci") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="老板红光" type="PointLight2D" parent="Ground/DeployLayer/Event2D抓药游戏"] -position = Vector2(1003, -14) -color = Color(1, 0, 0, 1) -energy = 0.0 -texture = ExtResource("65_rgrem") - -[node name="药车_人群" type="Node2D" parent="Ground/DeployLayer/Event2D抓药游戏"] -z_index = 20 - -[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] -script = ExtResource("12_2b6vx") -updater_event = &"c03_drug_game" -updater_mode = "shower" -updater_ease_duration = 0.0 -updater_stages = Array[int]([0]) -metadata/_custom_type_script = "uid://0wjaho6qkg6s" - -[node name="路人1" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] -position = Vector2(1070, 55) -sprite_frames = ExtResource("40_h2lyo") -animation = &"抓药游戏_呼吸路人01" -autoplay = "抓药游戏_呼吸路人01" - -[node name="路人2" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] -position = Vector2(1094, 56) -sprite_frames = ExtResource("40_h2lyo") -animation = &"抓药游戏_呼吸路人02" -autoplay = "抓药游戏_呼吸路人02" - -[node name="路人3" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] -position = Vector2(1118, 55) -sprite_frames = ExtResource("40_h2lyo") -animation = &"抓药游戏_呼吸路人03" -autoplay = "抓药游戏_呼吸路人03" - -[node name="Npc药车人群" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群" instance=ExtResource("35_plfv5")] -position = Vector2(1094, 66) -action_key = 3 -sign_mark_height = 18.29 -dialogue_title = "c03_药铺车前_人群" - -[node name="药车_老板" type="Node2D" parent="Ground/DeployLayer/Event2D抓药游戏"] - -[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] -script = ExtResource("12_2b6vx") -updater_event = &"c03_drug_game" -updater_mode = "shower" -updater_ease_duration = 0.0 -metadata/_custom_type_script = "uid://0wjaho6qkg6s" - -[node name="小蜡烛" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] -self_modulate = Color(0.611765, 0.611765, 0.611765, 1) -position = Vector2(1027.8, 29.6172) -sprite_frames = SubResource("SpriteFrames_18q2p") -autoplay = "default" - -[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] -position = Vector2(1028, 18) -color = Color(0.999971, 0.912551, 0.842208, 1) -texture = ExtResource("65_rgrem") -texture_scale = 0.3 - -[node name="药铺老板" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] -self_modulate = Color(1, 1, 1, 0.513726) -z_index = 6 -position = Vector2(1049, 20) -sprite_frames = ExtResource("40_h2lyo") -animation = &"抓药游戏_老板呼吸" -autoplay = "抓药游戏_老板呼吸" -script = ExtResource("67_h2lyo") -autostart = false -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Interactable抓药道具" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板" instance=ExtResource("8_xt8j0")] -position = Vector2(1058, 30) -action_key = 3 -one_shot_max_times = 4 -disable_prop_after_interacted = true -prop_key = "prop_3个纸铜钱" -prop_key2 = "prop_药方" -prop_key3 = "prop_辫子" -prop_key4 = "prop_药纸" - -[node name="Closeup抓药游戏" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板" instance=ExtResource("23_81juy")] -position = Vector2(1058, 30) -packed_scene = ExtResource("45_fxne6") -on_display_hide_hud = true -enabled = false -action_key = 3 -collision_width_and_x = Vector2(40, 0) - -[node name="药车_纸人" type="Sprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] -z_index = 20 -position = Vector2(1095, 58) -texture = ExtResource("42_obchk") - -[node name="Closeup敲门游戏" parent="Ground/DeployLayer" index="25" instance=ExtResource("23_81juy")] +[node name="Closeup敲门游戏" parent="Ground/DeployLayer" index="24" instance=ExtResource("23_81juy")] position = Vector2(466, 3) packed_scene = ExtResource("24_0o4rt") on_display_hide_hud = true collision_width_and_x = Vector2(40, 0) -[node name="Ambush惊悚闪电" parent="Ground/DeployLayer" index="26" instance=ExtResource("25_iyaiw")] +[node name="Ambush惊悚闪电" parent="Ground/DeployLayer" index="25" instance=ExtResource("25_iyaiw")] position = Vector2(1319, 40) hook_method = "shocking_lighting" -[node name="Ambush偷听对话" parent="Ground/DeployLayer" index="27" instance=ExtResource("25_iyaiw")] +[node name="Ambush偷听对话" parent="Ground/DeployLayer" index="26" instance=ExtResource("25_iyaiw")] position = Vector2(1836, 7) trigger_mode = "interact" one_shot = false hook_method = "eavesdrop" -[node name="李氏赖子房间人影" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="28"] +[node name="李氏赖子房间人影" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="27"] position = Vector2(1835, -16) sprite_frames = SubResource("SpriteFrames_0o4rt") autoplay = "default" frame_progress = 0.643855 -[node name="Closeup井" parent="Ground/DeployLayer" index="29" instance=ExtResource("23_81juy")] +[node name="Closeup井" parent="Ground/DeployLayer" index="28" instance=ExtResource("23_81juy")] z_index = 6 position = Vector2(2063, 50) packed_scene = ExtResource("26_yy4fp") on_display_hide_hud = true action_key = 3 -[node name="Npc井边疯子" parent="Ground/DeployLayer" index="30" instance=ExtResource("35_plfv5")] +[node name="Npc井边疯子" parent="Ground/DeployLayer" index="29" instance=ExtResource("35_plfv5")] z_index = 10 position = Vector2(2037, 67) sprite_frames = ExtResource("4_gd6xp") @@ -963,7 +714,7 @@ sign_x_offset = -2.0 collision_width_and_x = Vector2(37.08, 0) dialogue_title = "c02_井边疯子对话" -[node name="霸凌" type="Node2D" parent="Ground/DeployLayer" index="31"] +[node name="霸凌" type="Node2D" parent="Ground/DeployLayer" index="30"] visible = false position = Vector2(2154, 60) @@ -1026,7 +777,7 @@ collision_mask = 0 shape = SubResource("RectangleShape2D_d7h4s") disabled = true -[node name="火灾" type="Node2D" parent="Ground/DeployLayer" index="32"] +[node name="火灾" type="Node2D" parent="Ground/DeployLayer" index="31"] visible = false [node name="右窗" type="AnimatedSprite2D" parent="Ground/DeployLayer/火灾"] @@ -1268,7 +1019,7 @@ script = ExtResource("54_o1qbs") loop = true metadata/_custom_type_script = "uid://wapo47a1oddf" -[node name="Interactable柜子" parent="Ground/DeployLayer" index="33" instance=ExtResource("8_xt8j0")] +[node name="Interactable柜子" parent="Ground/DeployLayer" index="32" instance=ExtResource("8_xt8j0")] visible = false position = Vector2(1772, 48) texture = ExtResource("32_cpifc") @@ -1284,7 +1035,7 @@ animation = &"箱子着火" autoplay = "箱子着火" frame_progress = 0.453645 -[node name="Note柜子可放置区域" parent="Ground/DeployLayer" index="34" instance=ExtResource("6_t48d1")] +[node name="Note柜子可放置区域" parent="Ground/DeployLayer" index="33" instance=ExtResource("6_t48d1")] position = Vector2(1771, 39) title_filter = "c02" note_key = "c02_柜子可放置区域" @@ -1297,7 +1048,7 @@ updater_ease_duration = 0.0 updater_stages = Array[int]([1, 2]) metadata/_custom_type_script = "uid://0wjaho6qkg6s" -[node name="新背景_奠" type="Node2D" parent="Ground/DeployLayer" index="35"] +[node name="新背景_奠" type="Node2D" parent="Ground/DeployLayer" index="34"] visible = false [node name="地上纸钱" type="Sprite2D" parent="Ground/DeployLayer/新背景_奠"] @@ -1334,366 +1085,6 @@ position = Vector2(898, -162) z_index = 10 position = Vector2(1964, -209) -[node name="Pickable浆糊" parent="Ground/DeployLayer" index="36" instance=ExtResource("7_em2ma")] -position = Vector2(774, 64) -texture = ExtResource("64_deuom") -prop_key = "prop_浆糊" - -[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Pickable浆糊"] -script = ExtResource("12_2b6vx") -updater_event = &"current_chapter_stage" -updater_ease_duration = 0.0 -updater_stages = Array[int]([3]) -metadata/_custom_type_script = "uid://0wjaho6qkg6s" - -[node name="Event2D浆糊" type="Node2D" parent="Ground/DeployLayer" index="37"] -position = Vector2(284, -5) -script = ExtResource("64_1w4fq") -event_name = &"c03_f1_paste_show" -event_stages = Array[int]([0]) -pre_event_name = &"current_chapter_stage" -pre_event_mode = "hide" -pre_event_stages = Array[int]([0, 1, 2]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D浆糊"] -position = Vector2(486, -7) -texture = ExtResource("65_rgrem") -texture_scale = 0.5 - -[node name="Pro胖子" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D浆糊"] -position = Vector2(511, 27) -scale = Vector2(0.95, 0.95) -sprite_frames = ExtResource("66_deuom") -animation = &"胖子_撕寻人启事" -script = ExtResource("67_h2lyo") -autostart = false -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": 3 -}]) -move_configs = Array[Dictionary]([{ -"animation": "胖子_走路", -"animation_next": "", -"duration": 1e+07, -"movement_x": 600.0, -"velocity": Vector2(78, 0) -}]) -debug_mov_animation = "胖子_走路" -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Npc张文开" parent="Ground/DeployLayer/Event2D浆糊/Pro胖子" instance=ExtResource("35_plfv5")] -position = Vector2(-5.26316, 9.47369) -enabled = false -hook_character_name = "张文开" - -[node name="Pro李氏" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D浆糊"] -position = Vector2(460, 32) -scale = Vector2(0.95, 0.95) -sprite_frames = ExtResource("66_deuom") -animation = &"李氏_看向右边呼吸" -autoplay = "李氏_看向右边呼吸" -script = ExtResource("67_h2lyo") -move_configs = Array[Dictionary]([{ -"animation": "李氏_走路_右", -"animation_next": "", -"duration": 1e+07, -"movement_x": 600.0, -"velocity": Vector2(75, 0) -}]) -debug_mov_animation = "李氏_走路_右" -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Npc李兰" parent="Ground/DeployLayer/Event2D浆糊/Pro李氏" instance=ExtResource("35_plfv5")] -position = Vector2(3.15785, 13.6842) -enabled = false -hook_character_name = "李兰" - -[node name="Pro癞子" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D浆糊"] -position = Vector2(592, 32) -scale = Vector2(0.95, 0.95) -sprite_frames = ExtResource("66_deuom") -animation = &"辫子癞子_侧面呼吸" -autoplay = "辫子癞子_侧面呼吸" -script = ExtResource("67_h2lyo") -move_configs = Array[Dictionary]([{ -"animation": "辫子癞子_走路_右", -"animation_next": "", -"duration": 1e+07, -"movement_x": 500.0, -"velocity": Vector2(80, 0) -}]) -debug_mov_animation = "辫子癞子_走路_右" -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Npc王守义" parent="Ground/DeployLayer/Event2D浆糊/Pro癞子" instance=ExtResource("35_plfv5")] -position = Vector2(-5.26316, 6.31579) -enabled = false -hook_character_name = "王守义" - -[node name="Event2D第二章结束井边演出" type="Node2D" parent="Ground/DeployLayer" index="38"] -position = Vector2(2100, 0) -script = ExtResource("72_18q2p") -event_name = &"c03_well_show" -event_stages = Array[int]([1]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="Pro小蝉" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D第二章结束井边演出"] -position = Vector2(88, 54) -sprite_frames = ExtResource("39_rnk1v") -animation = &"小婵呼吸" -script = ExtResource("67_h2lyo") -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Sfx井边演出结束" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D第二章结束井边演出"] -stream = ExtResource("11_pjl66") -bus = &"game_sfx" -script = ExtResource("4_ygnci") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="Sfx惊醒喘气" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D第二章结束井边演出"] -stream = ExtResource("77_0kbwx") -volume_db = -5.0 -bus = &"game_sfx" -script = ExtResource("4_ygnci") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="Event2D第二章_纸人" type="Node2D" parent="Ground/DeployLayer" index="39"] -script = ExtResource("73_lt8c0") -event_name = &"c03_well_show" -event_stages = Array[int]([0]) -pre_event_name = &"current_chapter_stage" -pre_event_stages = Array[int]([3]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="排队常人" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人"] -light_mask = 0 -position = Vector2(1233, -120) -texture = ExtResource("18_crgo6") -centered = false - -[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D第二章_纸人/排队常人"] -script = ExtResource("12_2b6vx") -updater_event = &"c03_drug_game" -updater_mode = "shower" -updater_ease_duration = 0.0 -updater_stages = Array[int]([0]) -metadata/_custom_type_script = "uid://0wjaho6qkg6s" - -[node name="前景" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人/排队常人"] -light_mask = 0 -z_index = 21 -texture = ExtResource("77_6y26q") -centered = false - -[node name="排队纸人" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人"] -light_mask = 0 -position = Vector2(1233, -120) -texture = ExtResource("19_vddfx") -centered = false - -[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D第二章_纸人/排队纸人"] -script = ExtResource("12_2b6vx") -updater_event = &"c03_drug_game" -updater_mode = "shower" -updater_ease_duration = 0.0 -updater_stage_mode = "exclude" -updater_stages = Array[int]([0]) -metadata/_custom_type_script = "uid://0wjaho6qkg6s" - -[node name="前景" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人/排队纸人"] -light_mask = 0 -z_index = 21 -texture = ExtResource("78_5mk2s") -centered = false - -[node name="Event2D李氏给药完成" type="Node2D" parent="Ground/DeployLayer" index="40"] -position = Vector2(1858, 24) -script = ExtResource("75_0ek7o") -event_name = &"c03_li_paperwoman" -event_stages = Array[int]([4, 5]) -pre_event_name = &"current_chapter_stage" -pre_event_stages = Array[int]([3, 4, 5]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="Sfx招魂幡" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D李氏给药完成"] -stream = ExtResource("11_pjl66") -bus = &"game_sfx" -script = ExtResource("4_ygnci") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="Sfx招魂幡鬼影擦肩" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D李氏给药完成"] -stream = ExtResource("41_colp3") -bus = &"game_sfx" -script = ExtResource("4_ygnci") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="运尸车" type="Sprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"] -position = Vector2(-22, 25) -texture = ExtResource("74_f5g0l") - -[node name="Ambush招魂幡" parent="Ground/DeployLayer/Event2D李氏给药完成" instance=ExtResource("25_iyaiw")] -position = Vector2(-124, -10) -trigger_mode = "interact" -one_shot = false -cooldown_time = 2.0 - -[node name="招魂幡" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"] -position = Vector2(-134, -29) -sprite_frames = ExtResource("75_allmh") -animation = &"招魂幡" - -[node name="鬼差吸魂" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"] -visible = false -position = Vector2(34, -20) -sprite_frames = ExtResource("75_allmh") -animation = &"鬼差吸魂" -autoplay = "鬼差吸魂" -flip_h = true -script = ExtResource("67_h2lyo") -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D李氏给药完成/鬼差吸魂"] -position = Vector2(12, -2) -color = Color(1, 0, 0, 1) -energy = 2.62 -texture = ExtResource("65_rgrem") - -[node name="Event第三章开幕" type="Node2D" parent="Ground/DeployLayer" index="41"] -position = Vector2(1490, 0) -script = ExtResource("77_ndc6g") -event_name = &"c03_intro_c04" -event_stages = Array[int]([0]) -pre_event_name = &"c03_well_show" -pre_event_stages = Array[int]([2]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="背景" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -light_mask = 5 -z_index = -1 -position = Vector2(169, -227.5) -texture = ExtResource("77_pyl5w") - -[node name="二楼栏杆" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -z_index = 1 -position = Vector2(169, -227.5) -texture = ExtResource("78_ndc6g") - -[node name="三楼栏杆" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -z_index = 1 -position = Vector2(169, -227.5) -texture = ExtResource("79_0ek7o") - -[node name="邻居1" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -position = Vector2(169, -227.5) -texture = ExtResource("86_j6i36") - -[node name="邻居2" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -position = Vector2(169, -227.5) -texture = ExtResource("87_y7f1y") - -[node name="邻居3" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -position = Vector2(169, -227.5) -texture = ExtResource("88_y7f1y") - -[node name="Pro灰姑黑影" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -position = Vector2(169, -227.5) -sprite_frames = ExtResource("75_allmh") -animation = &"第三章开幕_灰姑黑影" -autoplay = "第三章开幕_灰姑黑影" -script = ExtResource("67_h2lyo") -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Pro花盆掉落" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -z_index = 2 -position = Vector2(169, -227.5) -sprite_frames = ExtResource("75_allmh") -animation = &"第三章开幕_花盆掉落" -script = ExtResource("67_h2lyo") -autostart = false -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Pro陆仁黑影" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -position = Vector2(169, -227.5) -sprite_frames = ExtResource("75_allmh") -animation = &"第三章开幕_陆仁黑影" -autoplay = "第三章开幕_陆仁黑影" -script = ExtResource("67_h2lyo") -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event第三章开幕"] -position = Vector2(208, -594) -texture = ExtResource("65_rgrem") -texture_scale = 2.0 - -[node name="Pro棺材怪" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] -z_index = 21 -position = Vector2(-10, 238) -rotation = 1.57159 -sprite_frames = ExtResource("77_ru58d") -animation = &"爬墙循环动画" -autoplay = "爬墙循环动画" -script = ExtResource("67_h2lyo") -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Ambush第三章开幕" parent="Ground/DeployLayer/Event第三章开幕" instance=ExtResource("25_iyaiw")] -position = Vector2(414, 46) -enter_affected_by_visibility = true - -[node name="CameraPivot" type="Marker2D" parent="Ground/DeployLayer/Event第三章开幕"] -position = Vector2(234, -1) - -[node name="AnimationPlayer" type="AnimationPlayer" parent="Ground/DeployLayer/Event第三章开幕"] -libraries = { -&"": SubResource("AnimationLibrary_0ek7o") -} - -[node name="Sfx花盆碎裂" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event第三章开幕"] -stream = ExtResource("91_iqe85") -bus = &"game_sfx" -script = ExtResource("4_ygnci") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="Note李癞_奠" parent="Ground/DeployLayer" index="42" instance=ExtResource("6_t48d1")] -position = Vector2(1937, -26) -title_filter = "c03" -note_key = "c03_s04_奠" - -[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Note李癞_奠"] -script = ExtResource("12_2b6vx") -updater_event = &"c03_li_paperwoman" -updater_stages = Array[int]([5]) -metadata/_custom_type_script = "uid://0wjaho6qkg6s" - -[node name="Event保卫科灯光闪烁C03" type="Node2D" parent="Ground/DeployLayer" index="43"] -script = ExtResource("73_lt8c0") -event_name = &"current_chapter_stage" -event_mode = "hide" -event_stages = Array[int]([0, 1, 2]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="Ambush保卫科灯光闪烁0" parent="Ground/DeployLayer/Event保卫科灯光闪烁C03" instance=ExtResource("25_iyaiw")] -position = Vector2(979, 34) -enter_affected_by_visibility = true -hook_method = "c03_light_flip0" - -[node name="Ambush保卫科灯光闪烁1" parent="Ground/DeployLayer/Event保卫科灯光闪烁C03" instance=ExtResource("25_iyaiw")] -position = Vector2(658, 33) -enter_affected_by_visibility = true -hook_method = "c03_light_flip1" - -[node name="Ambush保卫科灯光闪烁2" parent="Ground/DeployLayer/Event保卫科灯光闪烁C03" instance=ExtResource("25_iyaiw")] -position = Vector2(342, 35) -enter_affected_by_visibility = true -hook_method = "c03_light_flip2" - [node name="PointLight2D" type="PointLight2D" parent="Ground/AmbientLayer" index="0"] light_mask = 4 position = Vector2(2189, -142) diff --git a/scene/ground/scene/c02/s06_二楼.gd b/scene/ground/scene/c02/s06_二楼.gd index 75e93d0d..3900c58d 100644 --- a/scene/ground/scene/c02/s06_二楼.gd +++ b/scene/ground/scene/c02/s06_二楼.gd @@ -83,9 +83,6 @@ func _on_ground_ready() -> void: if $"../DeployLayer/Ambush小蝉偷看".played: $"../DeployLayer/Ambush小蝉偷看".queue_free() - # 胖子房间 - $"../DeployLayer/portal_4".unlocked.connect(_on_2013_unlocked) - # 小蝉偷看 func glimpse_hide_out(): @@ -242,27 +239,3 @@ func unlock_2floor_map(): EventManager.set_stage_if_greater(&"c02_2f_xchan_run_away", 1) EventManager.set_stage_if_greater(&"handnote_c02_map_2", 1) EventManager.set_stage_if_greater(&"handnote_c02_shoe_giveToMouce", 1) - - -func _on_2013_unlocked() -> void: - $"../DeployLayer/煤油灯".hold_off_light() - var l1 = $"../DeployLayer/煤油灯2/PointLight2D" - var l2 = $"../DeployLayer/煤油灯2/地面光" - var tween = create_tween() - # 所有灯和蜡烛火光不规律闪烁后熄灭 - var candles = $"../DeployLayer/楼梯蜡烛" - var lights = candles.get_children() - tween.tween_property(l1, "energy", 0.0, 0.5) - tween.parallel().tween_property(l2, "energy", 0.0, 0.5) - for light in lights: - var energy = randf_range(0.2, 0.4) - tween.parallel().tween_property(light, "energy", energy, 0.5) - tween.tween_interval(0.4) - for light in lights: - var energy = randf_range(0.5, 0.9) - tween.parallel().tween_property(light, "energy", energy, 0.4) - tween.tween_interval(0.3) - for light in lights: - # 默认保持 0.18 亮度,避免 mix 纯黑 - tween.parallel().tween_property(light, "energy", 0.18, 0.3) - # tween.tween_property(candles, "modulate:a", 0.0, 1.0) diff --git a/scene/ground/scene/c02/s06_二楼.tscn b/scene/ground/scene/c02/s06_二楼.tscn index 5b2c17c0..b8f20e31 100644 --- a/scene/ground/scene/c02/s06_二楼.tscn +++ b/scene/ground/scene/c02/s06_二楼.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=78 format=3 uid="uid://cootarwb44vvh"] +[gd_scene load_steps=67 format=3 uid="uid://cootarwb44vvh"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_qkymk"] [ext_resource type="Script" uid="uid://cbt0ubygchxvv" path="res://scene/ground/scene/c02/s06_二楼.gd" id="2_4dg6u"] @@ -21,19 +21,14 @@ [ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="10_h3h1a"] [ext_resource type="SpriteFrames" uid="uid://c8dl7c68f1yb0" path="res://asset/art/gif/c02_二楼/c02_二楼_frames.tres" id="10_och2w"] [ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="10_p6da7"] -[ext_resource type="Script" uid="uid://cu4h3b6w2duwe" path="res://scene/ground/script/c02/s06_event_2d疯子跑开.gd" id="10_qoe83"] -[ext_resource type="Texture2D" uid="uid://bxmc7pas3b6wa" path="res://asset/art/scene/c03/引导纸人/指引纸人4.png" id="10_sqio2"] [ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="11_2rktm"] [ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="11_owxx3"] [ext_resource type="PackedScene" uid="uid://cjx7o685ox8c1" path="res://scene/little_game/弹珠游戏/弹珠游戏.tscn" id="12_intre"] -[ext_resource type="Texture2D" uid="uid://c7hh6cvkahswt" path="res://asset/art/scene/c03/引导纸人/指引纸人4歪头.png" id="12_jxvkc"] -[ext_resource type="SpriteFrames" uid="uid://cee76qwjhw268" path="res://asset/art/gif/c03_二楼/c03_二楼_frames.tres" id="12_sqio2"] [ext_resource type="SpriteFrames" uid="uid://c218xrr85jdc7" path="res://asset/art/gif/c03_小小小蝶上楼道/c03_小小小蝶上楼道_frames.tres" id="13_6iuix"] [ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="14_7x2h6"] [ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="14_k01ve"] [ext_resource type="AudioStream" uid="uid://oya48ab6e3ye" path="res://asset/audio/sfx/旧版/child/小孩从远到近跑步.ogg" id="14_lipxo"] [ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/c02_杂项_frames.tres" id="14_och2w"] -[ext_resource type="AudioStream" uid="uid://dxx5lu2j88c7x" path="res://asset/audio/sfx/交互/第二章/sfx_s03_咔嚓转头.ogg" id="14_p6bap"] [ext_resource type="SpriteFrames" uid="uid://b0icyhxpj16tv" path="res://asset/art/gif/c02_谢幕演出/c02_谢幕演出_frames.tres" id="15_k01ve"] [ext_resource type="Texture2D" uid="uid://1pr32tkx4ttl" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_煤油灯座.png" id="16_osg51"] [ext_resource type="PackedScene" uid="uid://trkypc4gox20" path="res://scene/ground/script/c02/水盆特写.tscn" id="16_p6da7"] @@ -51,12 +46,7 @@ [ext_resource type="Texture2D" uid="uid://b5kolhax7pf4u" path="res://asset/art/scene/c02/s06_二楼楼道/小猫纸条.png" id="37_rjlld"] [ext_resource type="Script" uid="uid://bnm8wuspfx303" path="res://scene/ground/script/c02/event_2d_xchan_run_away.gd" id="39_t5e0j"] [ext_resource type="SpriteFrames" uid="uid://di43shn22n5ph" path="res://asset/art/gif/c00_通用动作/c00_通用动作_frames.tres" id="40_7i4w0"] -[ext_resource type="Script" uid="uid://bkkiyk5jkdw4d" path="res://manager/event_manager/event2d.gd" id="44_qoe83"] [ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="45_0k27j"] -[ext_resource type="Texture2D" uid="uid://o5uouajglukh" path="res://asset/art/scene/c02/s10_空房间/e_小蝉头套.png" id="45_sqio2"] -[ext_resource type="Script" uid="uid://bc8hqbn2avyon" path="res://scene/ground/script/c02/s06_event胖子拖小蝉.gd" id="49_3pfyq"] -[ext_resource type="SpriteFrames" uid="uid://b7fhheih1hbvf" path="res://config/animation/entity_sprite_frames.tres" id="50_qdiuf"] -[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="51_a5tb2"] [sub_resource type="Animation" id="Animation_k01ve"] length = 0.001 @@ -153,7 +143,7 @@ tracks/7/loop_wrap = true tracks/7/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), -"update": 1, +"update": 0, "values": [false] } tracks/8/type = "value" @@ -686,7 +676,7 @@ tracks/12/loop_wrap = true tracks/12/keys = { "times": PackedFloat32Array(6.2), "transitions": PackedFloat32Array(1), -"update": 1, +"update": 0, "values": [true] } tracks/13/type = "value" @@ -812,20 +802,6 @@ _data = { &"疯子撞墙": SubResource("Animation_p6da7") } -[sub_resource type="SpriteFrames" id="SpriteFrames_p6bap"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": ExtResource("10_sqio2") -}, { -"duration": 1.0, -"texture": ExtResource("12_jxvkc") -}], -"loop": true, -"name": &"default", -"speed": 5.0 -}] - [sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"] atlas = ExtResource("10_6iuix") region = Rect2(0, 0, 6, 14) @@ -1010,56 +986,7 @@ updater_stage_mode = "exclude" updater_stages = Array[int]([0, 1, 2]) metadata/_custom_type_script = "uid://0wjaho6qkg6s" -[node name="左侧纸人" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="6"] -position = Vector2(86, 31) -sprite_frames = SubResource("SpriteFrames_p6bap") - -[node name="Event2D疯子跑开" type="Node2D" parent="Ground/DeployLayer" index="7"] -position = Vector2(105, 2) -script = ExtResource("10_qoe83") -event_name = &"c03_f2_madman_runaway" -event_stages = Array[int]([0]) -pre_event_name = &"c03_invite_xchan_supper" -pre_event_mode = "hide" -pre_event_stages = Array[int]([0]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="Sfx纸人咔嚓转头" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D疯子跑开"] -stream = ExtResource("14_p6bap") -bus = &"game_sfx" -script = ExtResource("4_2e08x") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="Pro疯子慌张跑开" parent="Ground/DeployLayer/Event2D疯子跑开" instance=ExtResource("10_p6da7")] -position = Vector2(102, 22) -sprite_frames = ExtResource("12_sqio2") -animation = &"疯子_偷听呼吸" -autoplay = "疯子_偷听呼吸" -action_configs = Array[Dictionary]([{ -"animation_intro": "疯子_慌张转身", -&"animation_next": "疯子_慌张跑开", -"animation_wait_time": 0.0, -"intro_loop": 1 -}]) -move_configs = Array[Dictionary]([{ -"animation": "疯子_慌张跑开", -"animation_next": "", -"duration": 1e+07, -"movement_x": 1000.0, -"velocity": Vector2(-110, 0) -}]) -debug_mov_animation = "疯子_慌张跑开" - -[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D疯子跑开/Pro疯子慌张跑开"] -position = Vector2(9, -9) -energy = 0.3 -texture = ExtResource("45_0k27j") - -[node name="Ambush疯子慌张跑开" parent="Ground/DeployLayer/Event2D疯子跑开" instance=ExtResource("14_k01ve")] -position = Vector2(192, 46) -enter_affected_by_visibility = true - -[node name="楼梯蜡烛" type="Node2D" parent="Ground/DeployLayer" index="8"] +[node name="楼梯蜡烛" type="Node2D" parent="Ground/DeployLayer" index="6"] [node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/楼梯蜡烛"] position = Vector2(777.8, -48.2) @@ -1117,7 +1044,7 @@ position = Vector2(0, 12.8172) sprite_frames = SubResource("SpriteFrames_lipxo") autoplay = "default" -[node name="Pro小小蝶上楼" parent="Ground/DeployLayer" index="9" instance=ExtResource("10_p6da7")] +[node name="Pro小小蝶上楼" parent="Ground/DeployLayer" index="7" instance=ExtResource("10_p6da7")] position = Vector2(953, 30) sprite_frames = ExtResource("13_6iuix") animation = &"小小小蝶动画(跑)" @@ -1141,7 +1068,7 @@ bus = &"game_sfx" script = ExtResource("14_7x2h6") metadata/_custom_type_script = "uid://wapo47a1oddf" -[node name="Note楼梯杂物堆" parent="Ground/DeployLayer" index="10" instance=ExtResource("10_h3h1a")] +[node name="Note楼梯杂物堆" parent="Ground/DeployLayer" index="8" instance=ExtResource("10_h3h1a")] position = Vector2(801, -77) texture = ExtResource("7_v3hjg") sign_mark_offset = Vector2(0, 1.47) @@ -1154,7 +1081,7 @@ sign_mark_offset = Vector2(0, 1.47) [node name="CollisionShape2D" parent="Ground/DeployLayer/Note楼梯杂物堆/Area2D" index="0"] shape = SubResource("RectangleShape2D_2rktm") -[node name="煤油灯" parent="Ground/DeployLayer" index="11" instance=ExtResource("5_3p5ta")] +[node name="煤油灯" parent="Ground/DeployLayer" index="9" instance=ExtResource("5_3p5ta")] position = Vector2(616, -14) ground_light_texture = ExtResource("8_7x2h6") ground_height_offset = 15.0 @@ -1166,7 +1093,7 @@ shape = SubResource("RectangleShape2D_lh55k") position = Vector2(0, 15) texture = ExtResource("8_7x2h6") -[node name="煤油灯2" type="Sprite2D" parent="Ground/DeployLayer" index="12"] +[node name="煤油灯2" type="Sprite2D" parent="Ground/DeployLayer" index="10"] position = Vector2(321, 1) texture = ExtResource("16_osg51") @@ -1191,7 +1118,7 @@ blend_mode = 2 range_item_cull_mask = 4 texture = ExtResource("21_2rktm") -[node name="Interactable老鼠洞" parent="Ground/DeployLayer" index="13" instance=ExtResource("7_0d746")] +[node name="Interactable老鼠洞" parent="Ground/DeployLayer" index="11" instance=ExtResource("7_0d746")] position = Vector2(618, 50) enabled = false collision_width_and_x = Vector2(60, 0) @@ -1207,19 +1134,19 @@ shape = SubResource("RectangleShape2D_7kxvk") radius = 20.0 walk_to_edge = true -[node name="小老鼠拖鞋子" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="14"] +[node name="小老鼠拖鞋子" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="12"] visible = false position = Vector2(608, -15) sprite_frames = ExtResource("8_nh8we") animation = &"老鼠托小鞋子" speed_scale = -1.0 -[node name="自动跟随的老鼠" parent="Ground/DeployLayer" index="15" instance=ExtResource("9_58d45")] +[node name="自动跟随的老鼠" parent="Ground/DeployLayer" index="13" instance=ExtResource("9_58d45")] position = Vector2(4, 73) action_area = Vector2(920, 40) distance_to_player_range = Vector2(20, 150) -[node name="疯子撞墙" parent="Ground/DeployLayer" index="16" instance=ExtResource("10_p6da7")] +[node name="疯子撞墙" parent="Ground/DeployLayer" index="14" instance=ExtResource("10_p6da7")] visible = false position = Vector2(221, 4) sprite_frames = ExtResource("10_och2w") @@ -1244,7 +1171,7 @@ loop = true loop_round_time = 0.8 metadata/_custom_type_script = "uid://wapo47a1oddf" -[node name="Ambush三男孩" parent="Ground/DeployLayer" index="17" instance=ExtResource("14_k01ve")] +[node name="Ambush三男孩" parent="Ground/DeployLayer" index="15" instance=ExtResource("14_k01ve")] visible = false position = Vector2(167, 38) enabled = false @@ -1261,24 +1188,24 @@ autoplay = "f3" frame = 6 frame_progress = 0.121203 -[node name="Closeup弹珠游戏" parent="Ground/DeployLayer" index="18" instance=ExtResource("11_owxx3")] +[node name="Closeup弹珠游戏" parent="Ground/DeployLayer" index="16" instance=ExtResource("11_owxx3")] position = Vector2(322, -269) packed_scene = ExtResource("12_intre") quit_closeup_on_cancel = false -[node name="Closeup水盆" parent="Ground/DeployLayer" index="19" instance=ExtResource("11_owxx3")] +[node name="Closeup水盆" parent="Ground/DeployLayer" index="17" instance=ExtResource("11_owxx3")] position = Vector2(289, 16) packed_scene = ExtResource("16_p6da7") on_display_hide_hud = true first_interact_os_key = "c02_二楼水盆" -[node name="Closeup谢幕演出" parent="Ground/DeployLayer" index="20" instance=ExtResource("11_owxx3")] +[node name="Closeup谢幕演出" parent="Ground/DeployLayer" index="18" instance=ExtResource("11_owxx3")] position = Vector2(518, -272) packed_scene = ExtResource("25_m28ab") quit_closeup_on_cancel = false action_key = 3 -[node name="c02_final" type="Node2D" parent="Ground/DeployLayer" index="21"] +[node name="c02_final" type="Node2D" parent="Ground/DeployLayer" index="19"] visible = false [node name="胖子" parent="Ground/DeployLayer/c02_final" instance=ExtResource("10_p6da7")] @@ -1380,7 +1307,7 @@ color = Color(0.895506, 0.638359, 0.208885, 1) energy = 0.0 texture = SubResource("GradientTexture2D_0k27j") -[node name="Ambush小蝉偷看" parent="Ground/DeployLayer" index="22" instance=ExtResource("14_k01ve")] +[node name="Ambush小蝉偷看" parent="Ground/DeployLayer" index="20" instance=ExtResource("14_k01ve")] position = Vector2(553, -5) texture = ExtResource("37_osg51") collision_width_and_x = Vector2(150, 0) @@ -1390,7 +1317,7 @@ hook_method = "glimpse_hide_out" energy = 0.2 texture = ExtResource("45_0k27j") -[node name="Event_小猫纸条" type="Node2D" parent="Ground/DeployLayer" index="23"] +[node name="Event_小猫纸条" type="Node2D" parent="Ground/DeployLayer" index="21"] position = Vector2(164, 42) script = ExtResource("35_h3h1a") event_name = &"c02_ball_game_stage" @@ -1413,26 +1340,11 @@ content_centered = true texture_cover = ExtResource("37_rjlld") content_key = "c02_小猫纸条" -[node name="Ambush解锁二楼地图" parent="Ground/DeployLayer" index="24" instance=ExtResource("14_k01ve")] +[node name="Ambush解锁二楼地图" parent="Ground/DeployLayer" index="22" instance=ExtResource("14_k01ve")] position = Vector2(748, 47) hook_method = "unlock_2floor_map" -[node name="Event胖子卧室门口小蝉头套" type="Node2D" parent="Ground/DeployLayer" index="25"] -script = ExtResource("44_qoe83") -event_name = &"c02_the_blind_room_stage" -event_stages = Array[int]([1]) -pre_event_name = &"current_chapter_stage" -pre_event_stages = Array[int]([2]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="Note小蝉的头套" parent="Ground/DeployLayer/Event胖子卧室门口小蝉头套" instance=ExtResource("10_h3h1a")] -position = Vector2(543, 57) -texture = ExtResource("45_sqio2") -sign_mark_offset = Vector2(0, -7.47) -title_filter = "c02" -note_key = "c02_二楼小蝉头套" - -[node name="Event2D_xchan_run_away" type="Node2D" parent="Ground/DeployLayer" index="26"] +[node name="Event2D_xchan_run_away" type="Node2D" parent="Ground/DeployLayer" index="23"] position = Vector2(9, -4) script = ExtResource("39_t5e0j") event_name = &"c02_2f_xchan_run_away" @@ -1464,40 +1376,6 @@ debug_mov_animation = "c00_头套小婵_run" energy = 0.1 texture = ExtResource("45_0k27j") -[node name="Event胖子拖小蝉" type="Node2D" parent="Ground/DeployLayer" index="27"] -script = ExtResource("49_3pfyq") -event_name = &"c03_pangzi_pull_xchan" -event_stages = Array[int]([1]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="胖子拖小蝉" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event胖子拖小蝉"] -position = Vector2(190, 29) -sprite_frames = ExtResource("50_qdiuf") -animation = &"c03_胖子_托小孩" -script = ExtResource("51_a5tb2") -autostart = false -action_configs = Array[Dictionary]([{ -"animation_intro": &"c03_胖子_托小孩", -&"animation_next": "c03_胖子_拖小孩_走", -"animation_wait_time": 0.0, -"intro_loop": 1 -}]) -move_configs = Array[Dictionary]([{ -"animation": "c03_胖子_拖小孩_走", -"animation_next": "c03_胖子_托小孩_停", -"duration": 1e+07, -"movement_x": 450.0, -"velocity": Vector2(80, 0) -}]) -debug_mov_animation = "c03_胖子_拖小孩_走" -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event胖子拖小蝉/胖子拖小蝉"] -position = Vector2(-8, -1) -color = Color(1, 0.829639, 0.785629, 1) -energy = 0.15 -texture = ExtResource("11_2rktm") - [node name="MainPlayer" parent="Ground" index="5"] position = Vector2(49, 98) catty_light_energy = 0.5 diff --git a/scene/ground/scene/c03/s13_院子II.gd b/scene/ground/scene/c03/s13_院子II.gd new file mode 100644 index 00000000..67f709d2 --- /dev/null +++ b/scene/ground/scene/c03/s13_院子II.gd @@ -0,0 +1,120 @@ +@tool +extends AnimationRoot + +var gate: Interactable2D + + +# 覆盖该方法 +func _default_data() -> Dictionary: + return {} + + +func _ready() -> void: + super._ready() + if Engine.is_editor_hint(): + return + + +var eavesdrop_window: AnimatedSprite2D +var madman_npc: Npc2D +var small_shoe: Pickable2D +var bully_layer +var burning_layer +var counter +var fg + + +func _on_ground_ready() -> void: + fg = $"../ParallaxForeground/FGParallaxLayer/FGSprite2D" + $"../DeployLayer/Closeup敲门游戏".exit.connect(_on_knock_exit) + + eavesdrop_window = $"../DeployLayer/李氏赖子房间人影" + madman_npc = $"../DeployLayer/Npc井边疯子" + madman_npc.visible = false + var closeup_well = $"../DeployLayer/Closeup井" + # 第一章霸凌阶段(弹珠游戏结束为开始)隐藏疯子与李癞偷听,第二章开始后显示 + if EventManager.get_stage(&"c02_ball_game_stage") >= 3 and EventManager.get_chapter_stage() <= 2: + # 弹珠游戏结束后就开始霸凌,此时禁止偷听。第一章结束后(火灾结束),第二章再偷听 + $"../DeployLayer/Ambush偷听对话".enabled = false + eavesdrop_window.visible = false + closeup_well.enabled = false + else: + if not ArchiveManager.get_global_value("c02_watched_the_well"): + closeup_well.exit.connect(func(_arg): + madman_npc.visible = true + # 2 号为井边记忆 + ArchiveManager.unlock_memory(2) + ) + # madman_npc.talk_finished.connect(ArchiveManager.unlock_memory.bind(2)) + + if ArchiveManager.get_global_value(&"c02_eavesdrop_finished"): + $"../DeployLayer/Ambush偷听对话".enabled = false + eavesdrop_window.visible = false + else: + # 不偷听则不可开门 + $"../DeployLayer/portal_5".enabled = false + + # 奠字 + 纸钱 + var show_coin_rain := false + if EventManager.get_chapter_stage() <= 2: + show_coin_rain = ArchiveManager.get_global_value(&"c02_show_grounded_coins") + elif EventManager.get_chapter_stage() >= 3: + # 已拿钥匙 + show_coin_rain = EventManager.get_stage("c03_li_paperwoman") >= 5 + $"../DeployLayer/新背景_奠".visible = show_coin_rain + + +func _on_knock_exit(arg): + if arg: + await create_tween().tween_interval(1.0).finished + SceneManager.pop_os_with_str("c02_敲门_肉掉落") + + +func eavesdrop() -> void: + $"../DeployLayer/Ambush偷听对话".enabled = false + # 12 c00_吕萍_蹲下 13 c00_吕萍_蹲下呼吸 14 c00_吕萍_起立 + await SceneManager.lock_player(0, 12) + SceneManager.player_action(13) + # 对话 + DialogueManager.show_dialogue_balloon(dialogue_c02, "c02_04_李氏癞子") + await DialogueManager.dialogue_ended + eavesdrop_window.visible = false + await Util.wait(1) + SceneManager.player_action(14, true) + ArchiveManager.set_global_entry(&"c02_eavesdrop_finished", true) + await Util.wait(1.5) + await SceneManager.pop_os_with_str("c02_偷听李癞对话后") + EventManager.set_stage_if_greater(&"handnote_c02_meat_knockDoor", 1) + # 1 号为偷听对话 + ArchiveManager.unlock_memory(1) + SceneManager.unlock_player() + $"../DeployLayer/portal_5".enabled = true + + +# 保卫科灯光闪烁 +func c03_light_flip0() -> void: + var light = $"../DeployLayer/煤油灯3/PointLight2D" + Util.timer(2.5, _flip_light.bind(light)) + $"Sfx风吹过".play() + await SceneManager.lock_player(0, 22) # 风吹过 + SceneManager.pop_os_with_str("c03_冷飕飕风吹过") + SceneManager.unlock_player() + + +func c03_light_flip1() -> void: + var light = $"../DeployLayer/煤油灯2/PointLight2D" + _flip_light(light) + + +func c03_light_flip2() -> void: + var light = $"../DeployLayer/煤油灯/PointLight2D" + _flip_light(light) + + +func _flip_light(light:PointLight2D)->void: + var default_energy = light.energy + var tween = create_tween() + tween.tween_property(light, "energy", default_energy * 0.25, 0.5) + tween.tween_property(light, "energy", default_energy * 0.6, 0.2) + tween.tween_property(light, "energy", default_energy * 0.1, 0.3) + tween.tween_property(light, "energy", default_energy, 0.4) \ No newline at end of file diff --git a/scene/ground/scene/c03/s13_院子II.gd.uid b/scene/ground/scene/c03/s13_院子II.gd.uid new file mode 100644 index 00000000..9b130ef6 --- /dev/null +++ b/scene/ground/scene/c03/s13_院子II.gd.uid @@ -0,0 +1 @@ +uid://bgahyojxlgysm diff --git a/scene/ground/scene/c03/s13_院子II.tscn b/scene/ground/scene/c03/s13_院子II.tscn new file mode 100644 index 00000000..7afb804c --- /dev/null +++ b/scene/ground/scene/c03/s13_院子II.tscn @@ -0,0 +1,1066 @@ +[gd_scene load_steps=85 format=3 uid="uid://b1elo74u56fap"] + +[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_8fjn8"] +[ext_resource type="Script" uid="uid://bgahyojxlgysm" path="res://scene/ground/scene/c03/s13_院子II.gd" id="2_j4frh"] +[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_6pite"] +[ext_resource type="AudioStream" uid="uid://d0ef0felylt8d" path="res://asset/audio/sfx/环境音/第一章/氛围不受欢迎的存在.ogg" id="5_p2dal"] +[ext_resource type="AudioStream" uid="uid://o7fj0r0fbm1h" path="res://asset/audio/sfx/交互/第一章/sfx_冷飕飕.ogg" id="11_coeim"] +[ext_resource type="Texture2D" uid="uid://b3odt4ojsvu5n" path="res://asset/art/scene/c02/s03_公寓一楼院子/bg_一楼.png" id="12_8yqtm"] +[ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/c02_杂项_frames.tres" id="13_v8hau"] +[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="14_aqvcd"] +[ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="15_pasx5"] +[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="16_ift4e"] +[ext_resource type="Texture2D" uid="uid://diuh52qo2o6pa" path="res://asset/art/scene/c02/s03_公寓一楼院子/f_院子内墙上文字与柜子痕迹.png" id="21_eoyk5"] +[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="22_bf8pe"] +[ext_resource type="Texture2D" uid="uid://c0enojekent6s" path="res://asset/art/scene/c02/杂物/e_灯笼.png" id="23_q7ga6"] +[ext_resource type="Texture2D" uid="uid://douwcahbhr1wt" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_楼梯人群.png" id="24_icg2g"] +[ext_resource type="Texture2D" uid="uid://dqd645v3k4yar" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_诡异纸人.png" id="25_xr8be"] +[ext_resource type="PackedScene" uid="uid://dsa6frlw6e6gg" path="res://scene/entity/pickable.tscn" id="26_kq5mn"] +[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="29_iqhvu"] +[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="30_ys0pv"] +[ext_resource type="Texture2D" uid="uid://bgpf35bhrkl86" path="res://asset/art/scene/c02/s03_公寓一楼院子/铁门/打开 底层.png" id="32_520fk"] +[ext_resource type="Texture2D" uid="uid://f8yjp5ggr8qw" path="res://asset/art/scene/c02/s03_公寓一楼院子/算卦布.png" id="33_lusp2"] +[ext_resource type="Texture2D" uid="uid://1pr32tkx4ttl" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_煤油灯座.png" id="34_awwqy"] +[ext_resource type="Texture2D" uid="uid://0x7cl2cmcs6l" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕2.png" id="35_1goeu"] +[ext_resource type="Texture2D" uid="uid://cj0ie1ahfaam" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕5.png" id="36_45ren"] +[ext_resource type="Texture2D" uid="uid://bcc7ni57tohwb" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕6.png" id="37_eb474"] +[ext_resource type="Texture2D" uid="uid://dy55syw4my0qo" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_水井.png" id="38_xodct"] +[ext_resource type="Texture2D" uid="uid://d0mrgm6ot3vee" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_药车.png" id="39_dr0a1"] +[ext_resource type="Script" uid="uid://chgyivvdw22cw" path="res://scene/ground/script/c02/s03_event_2d抓药游戏.gd" id="40_y8r2l"] +[ext_resource type="AudioStream" uid="uid://c68e38rel4xrs" path="res://asset/audio/sfx/交互/序章/sfx_鬼差出场.ogg" id="41_3movs"] +[ext_resource type="AudioStream" uid="uid://c5rgfl6ub4chw" path="res://asset/audio/sfx/交互/序章/sfx_鬼差擦肩而过.ogg" id="42_nsxcx"] +[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="43_0auoh"] +[ext_resource type="SpriteFrames" uid="uid://ck660fpn3004k" path="res://asset/art/gif/c03_抓药游戏/c03_抓药游戏_frames.tres" id="44_5ex4u"] +[ext_resource type="PackedScene" uid="uid://0sofmhrl358m" path="res://scene/entity/npc.tscn" id="45_g606l"] +[ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="46_3n0aq"] +[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="47_ycd0s"] +[ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="48_orsrv"] +[ext_resource type="PackedScene" uid="uid://cpxt082my5yac" path="res://scene/ground/script/c02/s03_closeup抓药游戏.tscn" id="49_u43gt"] +[ext_resource type="Texture2D" uid="uid://dbwknogtlqb3x" path="res://asset/art/scene/c03/s00_院子与其他/e_药车前纸人.png" id="50_4318j"] +[ext_resource type="PackedScene" uid="uid://bxpexbk7f3rax" path="res://scene/ground/script/c02/敲门游戏.tscn" id="51_1f2bv"] +[ext_resource type="Texture2D" uid="uid://bcji0qu0u6yo0" path="res://asset/art/scene/c02/s03_公寓一楼院子/李氏癞子窗户/李氏癞子窗户人影.png" id="52_e487x"] +[ext_resource type="Texture2D" uid="uid://cq65jye47jbxw" path="res://asset/art/scene/c02/s03_公寓一楼院子/李氏癞子窗户/李氏癞子窗户人影2.png" id="53_bol8a"] +[ext_resource type="PackedScene" uid="uid://drq7ul1eikypv" path="res://scene/ground/script/c02/井特写.tscn" id="54_3w5c0"] +[ext_resource type="SpriteFrames" uid="uid://b0icyhxpj16tv" path="res://asset/art/gif/c02_谢幕演出/c02_谢幕演出_frames.tres" id="61_l43hb"] +[ext_resource type="Texture2D" uid="uid://c8b80a75k3qw6" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_院子地上纸钱.png" id="67_d37nu"] +[ext_resource type="Texture2D" uid="uid://bxqetnlx0bpv4" path="res://asset/art/scene/c02/门_贴图/1012保卫科.png" id="68_ff4n2"] +[ext_resource type="Texture2D" uid="uid://cmm6oxlbl2wps" path="res://asset/art/scene/c02/门_贴图/1013肉铺.png" id="69_551fa"] +[ext_resource type="Texture2D" uid="uid://b1tnkshmv7r3b" path="res://asset/art/scene/c02/门_贴图/院子房间3.png" id="70_7dsxw"] +[ext_resource type="Texture2D" uid="uid://cvtbiefbffjd7" path="res://asset/art/scene/c02/门_贴图/1015房间.png" id="71_xyc23"] +[ext_resource type="PackedScene" uid="uid://dnbutraty2285" path="res://scene/entity/partical/particals_ash_vertical.tscn" id="72_qaity"] +[ext_resource type="Texture2D" uid="uid://kt7orklmtuqf" path="res://asset/art/scene/c03/s00_院子与其他/场景浆糊.png" id="73_0mdmm"] +[ext_resource type="Script" uid="uid://b1taymx4iow6k" path="res://scene/ground/script/c02/s05_event_2d浆糊.gd" id="74_ys1c0"] +[ext_resource type="SpriteFrames" uid="uid://vadgcpixpkj1" path="res://asset/art/gif/c03_一楼胖李癞/c03_一楼胖李癞_frames.tres" id="75_y1at6"] +[ext_resource type="Script" uid="uid://cts4fvgir2lur" path="res://scene/ground/script/c02/s03_event_2d第二章结束井边演出.gd" id="76_cfx4a"] +[ext_resource type="AudioStream" uid="uid://wlxm47uvgdh" path="res://asset/audio/sfx/交互/角色/sfx_小蝶惊醒喘气_伴随特效.ogg" id="77_oogo2"] +[ext_resource type="Script" uid="uid://bkkiyk5jkdw4d" path="res://manager/event_manager/event2d.gd" id="78_5dvv8"] +[ext_resource type="Texture2D" uid="uid://rsk3dkai37hu" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_楼梯人群_前景.png" id="79_8jl58"] +[ext_resource type="Texture2D" uid="uid://mbtx17tg24pl" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_诡异纸人_前景.png" id="80_mn1r6"] +[ext_resource type="Script" uid="uid://b5to0url3t7h4" path="res://scene/ground/script/c02/s03_event李氏给药完成.gd" id="81_b80nw"] +[ext_resource type="Texture2D" uid="uid://bjdy0o0qngukl" path="res://asset/art/scene/c03/s00_院子与其他/e_运尸车.png" id="82_fn0tw"] +[ext_resource type="SpriteFrames" uid="uid://cmvr3lbwe3h7p" path="res://asset/art/gif/c03_特写与游戏动画/c03_特写与游戏动画_frames.tres" id="83_52xvn"] +[ext_resource type="Script" uid="uid://3umabu63j1t5" path="res://scene/ground/script/c02/s03_event第三章开幕.gd" id="84_2naha"] +[ext_resource type="Texture2D" uid="uid://by7ibwt45ndlm" path="res://asset/art/scene/c03/s00_第三章开幕/第三章开场.png" id="85_jpguy"] +[ext_resource type="Texture2D" uid="uid://cyb7wxwadqhht" path="res://asset/art/scene/c03/s00_第三章开幕/二楼栏杆.png" id="86_o7teo"] +[ext_resource type="Texture2D" uid="uid://0d7afuay7x0k" path="res://asset/art/scene/c03/s00_第三章开幕/三楼栏杆.png" id="87_us1hg"] +[ext_resource type="Texture2D" uid="uid://iochvxxj4oji" path="res://asset/art/scene/c03/s00_第三章开幕/邻居1.png" id="88_uxlg3"] +[ext_resource type="Texture2D" uid="uid://b1omqxct4hws2" path="res://asset/art/scene/c03/s00_第三章开幕/邻居2.png" id="89_jstv6"] +[ext_resource type="Texture2D" uid="uid://dr222pgv54efg" path="res://asset/art/scene/c03/s00_第三章开幕/邻居3.png" id="90_ot16w"] +[ext_resource type="SpriteFrames" uid="uid://cvjl0m6b5oc6f" path="res://asset/art/gif/c03_棺材怪/c03_棺材怪_frames.tres" id="91_cx3hm"] +[ext_resource type="AudioStream" uid="uid://ysq73lgj8454" path="res://asset/audio/sfx/交互/第二章/花盆碎裂.ogg" id="92_3tx7c"] +[ext_resource type="Texture2D" uid="uid://dooaferyy44rs" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_前侧楼梯.png" id="93_7tdev"] + +[sub_resource type="Animation" id="Animation_rt2lh"] +length = 0.001 + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_iyaiw"] +_data = { +&"RESET": SubResource("Animation_rt2lh") +} + +[sub_resource type="Gradient" id="Gradient_plfv5"] +offsets = PackedFloat32Array(0, 0.799373, 1) +colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_kyfht"] +gradient = SubResource("Gradient_plfv5") +width = 70 +height = 120 +fill = 1 +fill_from = Vector2(0.5, 0.465812) +fill_to = Vector2(1, 1) + +[sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"] +atlas = ExtResource("46_3n0aq") +region = Rect2(0, 0, 6, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_th1ek"] +atlas = ExtResource("46_3n0aq") +region = Rect2(6, 0, 6, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_to1d1"] +atlas = ExtResource("46_3n0aq") +region = Rect2(12, 0, 6, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nx6jy"] +atlas = ExtResource("46_3n0aq") +region = Rect2(18, 0, 6, 14) + +[sub_resource type="SpriteFrames" id="SpriteFrames_18q2p"] +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 +}] + +[sub_resource type="SpriteFrames" id="SpriteFrames_0o4rt"] +animations = [{ +"frames": [{ +"duration": 4.0, +"texture": ExtResource("52_e487x") +}, { +"duration": 1.0, +"texture": ExtResource("53_bol8a") +}, { +"duration": 4.0, +"texture": ExtResource("52_e487x") +}, { +"duration": 5.0, +"texture": ExtResource("53_bol8a") +}, { +"duration": 3.0, +"texture": ExtResource("52_e487x") +}, { +"duration": 3.0, +"texture": ExtResource("53_bol8a") +}], +"loop": true, +"name": &"default", +"speed": 4.0 +}] + +[sub_resource type="Animation" id="Animation_0ek7o"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("CameraPivot:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(234, -1)] +} + +[sub_resource type="Animation" id="Animation_ndc6g"] +resource_name = "intro_c04" +length = 18.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("CameraPivot:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 4.3, 12.8, 17.9), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 0, +"values": [Vector2(234, -1), Vector2(234, -460), Vector2(234, -460), Vector2(234, 0)] +} +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(11.1), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"pop_chapter_notification" +}] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_0ek7o"] +_data = { +&"RESET": SubResource("Animation_0ek7o"), +&"intro_c04": SubResource("Animation_ndc6g") +} + +[sub_resource type="Gradient" id="Gradient_em2ma"] +offsets = PackedFloat32Array(0.00928382, 0.681698, 1) +colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_plfv5"] +gradient = SubResource("Gradient_em2ma") +width = 500 +height = 1000 +fill = 1 +fill_from = Vector2(0.5, 0.495726) +fill_to = Vector2(1, 1) + +[node name="S13" type="Node2D"] +metadata/_edit_horizontal_guides_ = [94.0] + +[node name="Ground" parent="." instance=ExtResource("1_8fjn8")] +scene_name = "c03_s13" +player_y = 65 + +[node name="AnimationPlayer" parent="Ground" index="0"] +libraries = { +&"": SubResource("AnimationLibrary_iyaiw") +} +script = ExtResource("2_j4frh") + +[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"] +process_mode = 1 +stream = ExtResource("5_p2dal") +volume_db = -12.0 +autoplay = true +bus = &"game_sfx" +script = ExtResource("4_6pite") +mode = "场景背景音" +"循环播放" = true +"感应玩家操作" = false +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="Sfx风吹过" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"] +stream = ExtResource("11_coeim") +bus = &"game_sfx" +script = ExtResource("4_6pite") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="BGSprite2D" parent="Ground" index="2"] +light_mask = 5 +texture = ExtResource("12_8yqtm") + +[node name="portal_left" parent="Ground/DeployLayer" index="0"] +position = Vector2(25, 11) +target_scene = "c02_s02" +target_portal = "right" + +[node name="portal_right" parent="Ground/DeployLayer" index="1"] +position = Vector2(2286, 16) + +[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("14_aqvcd")] +position = Vector2(200, 10) +debug_note = "1012保卫科" +portal_name = "1" +target_scene = "c02_s04" +target_portal = "left" +status = "opened" + +[node name="portal_2" parent="Ground/DeployLayer" index="3" instance=ExtResource("14_aqvcd")] +position = Vector2(928, 7) +debug_note = "一楼内侧过道 +" +portal_name = "2" +target_scene = "c02_s05" +target_portal = "left" + +[node name="portal_3" parent="Ground/DeployLayer" index="4" instance=ExtResource("14_aqvcd")] +position = Vector2(1704, 14) +debug_note = "空房间 1014" +portal_name = "3" +target_scene = "c02_s10" +target_portal = "left" +status = "opened" + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/portal_3"] +script = ExtResource("15_pasx5") +updater_event = &"current_chapter_stage" +updater_stages = Array[int]([1, 2]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="portal_5" parent="Ground/DeployLayer" index="5" instance=ExtResource("14_aqvcd")] +position = Vector2(1937, 18) +debug_note = "李氏癞子房间" +portal_name = "5" +target_scene = "c03_s04" +target_portal = "1" +status = "locked" +prop_key = "prop_1015钥匙" + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/portal_5"] +script = ExtResource("15_pasx5") +updater_event = &"c03_li_paperwoman" +updater_stage_mode = "exclude" +updater_stages = Array[int]([5]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="禁火等墙面文字" type="Sprite2D" parent="Ground/DeployLayer" index="6"] +position = Vector2(955, 5) +texture = ExtResource("21_eoyk5") + +[node name="Note血迹" parent="Ground/DeployLayer" index="7" instance=ExtResource("22_bf8pe")] +position = Vector2(523, 78) +title_filter = "c02" +note_key = "c02_s03_干掉的血迹" + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Ground/DeployLayer/Note血迹"] +self_modulate = Color(0.255659, 0.255659, 0.255659, 1) +show_behind_parent = true +position = Vector2(132, 10) +sprite_frames = ExtResource("13_v8hau") +animation = &"肉铺门口血迹" + +[node name="灯笼" type="Node2D" parent="Ground/DeployLayer" index="8"] + +[node name="灯笼" type="Sprite2D" parent="Ground/DeployLayer/灯笼"] +position = Vector2(1644, -86) +texture = ExtResource("23_q7ga6") + +[node name="自亮" type="PointLight2D" parent="Ground/DeployLayer/灯笼/灯笼"] +visible = false +energy = 0.5 +texture = ExtResource("23_q7ga6") + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/灯笼/灯笼"] +position = Vector2(0, 56) +color = Color(1, 0.0980392, 0, 1) +energy = 0.7 +texture = SubResource("GradientTexture2D_kyfht") +texture_scale = 2.2 + +[node name="灯笼2" type="Sprite2D" parent="Ground/DeployLayer/灯笼"] +position = Vector2(1166, -94) +texture = ExtResource("23_q7ga6") + +[node name="自亮" type="PointLight2D" parent="Ground/DeployLayer/灯笼/灯笼2"] +visible = false +energy = 0.5 +texture = ExtResource("23_q7ga6") + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/灯笼/灯笼2"] +position = Vector2(0, 49) +color = Color(1, 0.0980392, 0, 1) +energy = 0.7 +texture = SubResource("GradientTexture2D_kyfht") +texture_scale = 2.2 + +[node name="灯笼3" type="Sprite2D" parent="Ground/DeployLayer/灯笼"] +position = Vector2(1764, -86) +texture = ExtResource("23_q7ga6") + +[node name="自亮" type="PointLight2D" parent="Ground/DeployLayer/灯笼/灯笼3"] +visible = false +energy = 0.5 +texture = ExtResource("23_q7ga6") + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/灯笼/灯笼3"] +position = Vector2(0, 55) +color = Color(1, 0.0980392, 0, 1) +energy = 0.7 +texture = SubResource("GradientTexture2D_kyfht") +texture_scale = 2.2 + +[node name="铁门" type="Sprite2D" parent="Ground/DeployLayer" index="9"] +light_mask = 5 +position = Vector2(1222, 28) +texture = ExtResource("32_520fk") + +[node name="Note算命摊位" parent="Ground/DeployLayer" index="10" instance=ExtResource("22_bf8pe")] +position = Vector2(725, 45) +note_key = "c02_院子_算命摊位" + +[node name="算卦布" type="Sprite2D" parent="Ground/DeployLayer/Note算命摊位"] +position = Vector2(0, 18) +texture = ExtResource("33_lusp2") + +[node name="煤油灯" type="Sprite2D" parent="Ground/DeployLayer" index="11"] +position = Vector2(293, 13) +texture = ExtResource("34_awwqy") + +[node name="灯光" type="AnimatedSprite2D" parent="Ground/DeployLayer/煤油灯"] +position = Vector2(4.5, -28) +scale = Vector2(0.3, 0.3) +sprite_frames = ExtResource("13_v8hau") +animation = &"火苗" +autoplay = "火苗" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/煤油灯"] +position = Vector2(11, -17) +color = Color(1, 0.882353, 0.705882, 1) +energy = 2.0 +blend_mode = 2 +texture = ExtResource("35_1goeu") + +[node name="煤油灯2" type="Sprite2D" parent="Ground/DeployLayer" index="12"] +position = Vector2(605, 13) +texture = ExtResource("34_awwqy") + +[node name="灯光" type="AnimatedSprite2D" parent="Ground/DeployLayer/煤油灯2"] +position = Vector2(4.5, -28) +scale = Vector2(0.3, 0.3) +sprite_frames = ExtResource("13_v8hau") +animation = &"火苗" +autoplay = "火苗" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/煤油灯2"] +position = Vector2(11, -17) +color = Color(1, 0.882353, 0.705882, 1) +energy = 2.0 +blend_mode = 2 +texture = ExtResource("36_45ren") + +[node name="煤油灯3" type="Sprite2D" parent="Ground/DeployLayer" index="13"] +position = Vector2(854, 13) +texture = ExtResource("34_awwqy") + +[node name="灯光" type="AnimatedSprite2D" parent="Ground/DeployLayer/煤油灯3"] +position = Vector2(4.5, -28) +scale = Vector2(0.3, 0.3) +sprite_frames = ExtResource("13_v8hau") +animation = &"火苗" +autoplay = "火苗" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/煤油灯3"] +position = Vector2(11, -17) +color = Color(1, 0.882353, 0.705882, 1) +energy = 2.0 +blend_mode = 2 +texture = ExtResource("37_eb474") + +[node name="井" type="Sprite2D" parent="Ground/DeployLayer" index="14"] +self_modulate = Color(0.739288, 0.739288, 0.739288, 1) +light_mask = 5 +z_index = 10 +position = Vector2(2062, 60) +texture = ExtResource("38_xodct") + +[node name="药车" type="Sprite2D" parent="Ground/DeployLayer" index="15"] +light_mask = 5 +z_index = 11 +position = Vector2(1025, 27) +texture = ExtResource("39_dr0a1") + +[node name="Event2D抓药游戏" type="Node2D" parent="Ground/DeployLayer" index="16"] +script = ExtResource("40_y8r2l") +event_name = &"c03_drug_game" +event_stages = Array[int]([0, 1]) +pre_event_name = &"current_chapter_stage" +pre_event_mode = "hide" +pre_event_stages = Array[int]([0, 1, 2]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="Note药车需知" parent="Ground/DeployLayer/Event2D抓药游戏" instance=ExtResource("22_bf8pe")] +position = Vector2(990, 1) +action = 3 +title_filter = "c03" +note_key = "c03_药车须知" + +[node name="Sfx2D药车铃铛声_右" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Event2D抓药游戏"] +position = Vector2(1138, 26) +stream = ExtResource("41_3movs") +attenuation = 2.0 +bus = &"game_sfx" +script = ExtResource("29_iqhvu") +metadata/_custom_type_script = "uid://wapo47a1oddf" + +[node name="Sfx2D药车铃铛声_左" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Event2D抓药游戏"] +position = Vector2(745, 14) +stream = ExtResource("41_3movs") +attenuation = 2.0 +bus = &"game_sfx" +script = ExtResource("29_iqhvu") +metadata/_custom_type_script = "uid://wapo47a1oddf" + +[node name="Sfx药车鬼影擦肩" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D抓药游戏"] +stream = ExtResource("42_nsxcx") +bus = &"game_sfx" +script = ExtResource("4_6pite") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="老板红光" type="PointLight2D" parent="Ground/DeployLayer/Event2D抓药游戏"] +position = Vector2(1003, -14) +color = Color(1, 0, 0, 1) +energy = 0.0 +texture = ExtResource("43_0auoh") + +[node name="药车_人群" type="Node2D" parent="Ground/DeployLayer/Event2D抓药游戏"] +z_index = 20 + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] +script = ExtResource("15_pasx5") +updater_event = &"c03_drug_game" +updater_mode = "shower" +updater_ease_duration = 0.0 +updater_stages = Array[int]([0]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="路人1" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] +position = Vector2(1070, 55) +sprite_frames = ExtResource("44_5ex4u") +animation = &"抓药游戏_呼吸路人01" +autoplay = "抓药游戏_呼吸路人01" + +[node name="路人2" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] +position = Vector2(1094, 56) +sprite_frames = ExtResource("44_5ex4u") +animation = &"抓药游戏_呼吸路人02" +autoplay = "抓药游戏_呼吸路人02" + +[node name="路人3" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群"] +position = Vector2(1118, 55) +sprite_frames = ExtResource("44_5ex4u") +animation = &"抓药游戏_呼吸路人03" +autoplay = "抓药游戏_呼吸路人03" + +[node name="Npc药车人群" parent="Ground/DeployLayer/Event2D抓药游戏/药车_人群" instance=ExtResource("45_g606l")] +position = Vector2(1094, 66) +action_key = 3 +sign_mark_height = 18.29 +dialogue_title = "c03_药铺车前_人群" + +[node name="药车_老板" type="Node2D" parent="Ground/DeployLayer/Event2D抓药游戏"] + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] +script = ExtResource("15_pasx5") +updater_event = &"c03_drug_game" +updater_mode = "shower" +updater_ease_duration = 0.0 +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="小蜡烛" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] +self_modulate = Color(0.611765, 0.611765, 0.611765, 1) +position = Vector2(1027.8, 29.6172) +sprite_frames = SubResource("SpriteFrames_18q2p") +autoplay = "default" + +[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] +position = Vector2(1028, 18) +color = Color(0.999971, 0.912551, 0.842208, 1) +texture = ExtResource("43_0auoh") +texture_scale = 0.3 + +[node name="药铺老板" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] +self_modulate = Color(1, 1, 1, 0.513726) +z_index = 6 +position = Vector2(1049, 20) +sprite_frames = ExtResource("44_5ex4u") +animation = &"抓药游戏_老板呼吸" +autoplay = "抓药游戏_老板呼吸" +script = ExtResource("47_ycd0s") +autostart = false +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Interactable抓药道具" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板" instance=ExtResource("30_ys0pv")] +position = Vector2(1058, 30) +action_key = 3 +one_shot_max_times = 4 +disable_prop_after_interacted = true +prop_key = "prop_3个纸铜钱" +prop_key2 = "prop_药方" +prop_key3 = "prop_辫子" +prop_key4 = "prop_药纸" + +[node name="Closeup抓药游戏" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板" instance=ExtResource("48_orsrv")] +position = Vector2(1058, 30) +packed_scene = ExtResource("49_u43gt") +on_display_hide_hud = true +enabled = false +action_key = 3 +collision_width_and_x = Vector2(40, 0) + +[node name="药车_纸人" type="Sprite2D" parent="Ground/DeployLayer/Event2D抓药游戏/药车_老板"] +z_index = 20 +position = Vector2(1095, 58) +texture = ExtResource("50_4318j") + +[node name="Closeup敲门游戏" parent="Ground/DeployLayer" index="17" instance=ExtResource("48_orsrv")] +position = Vector2(466, 3) +packed_scene = ExtResource("51_1f2bv") +on_display_hide_hud = true +collision_width_and_x = Vector2(40, 0) + +[node name="Ambush惊悚闪电" parent="Ground/DeployLayer" index="18" instance=ExtResource("16_ift4e")] +position = Vector2(1319, 40) +hook_method = "shocking_lighting" + +[node name="Ambush偷听对话" parent="Ground/DeployLayer" index="19" instance=ExtResource("16_ift4e")] +position = Vector2(1836, 7) +trigger_mode = "interact" +one_shot = false +hook_method = "eavesdrop" + +[node name="李氏赖子房间人影" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="20"] +position = Vector2(1835, -16) +sprite_frames = SubResource("SpriteFrames_0o4rt") +autoplay = "default" +frame_progress = 0.643855 + +[node name="Closeup井" parent="Ground/DeployLayer" index="21" instance=ExtResource("48_orsrv")] +z_index = 6 +position = Vector2(2063, 50) +packed_scene = ExtResource("54_3w5c0") +on_display_hide_hud = true +action_key = 3 + +[node name="Npc井边疯子" parent="Ground/DeployLayer" index="22" instance=ExtResource("45_g606l")] +z_index = 10 +position = Vector2(2037, 67) +sprite_frames = ExtResource("13_v8hau") +animation = &"疯子看井" +frame_progress = 0.298829 +snap_to_edge = false +action_key = 3 +sign_mark_height = 11.0 +speaking_sign_height = 49.0 +sign_x_offset = -2.0 +collision_width_and_x = Vector2(37.08, 0) +dialogue_title = "c02_井边疯子对话" + +[node name="新背景_奠" type="Node2D" parent="Ground/DeployLayer" index="23"] +visible = false + +[node name="地上纸钱" type="Sprite2D" parent="Ground/DeployLayer/新背景_奠"] +z_index = -4 +position = Vector2(0, -120) +texture = ExtResource("67_d37nu") +centered = false + +[node name="奠1" type="Sprite2D" parent="Ground/DeployLayer/新背景_奠"] +position = Vector2(199.5, -3) +texture = ExtResource("68_ff4n2") + +[node name="奠2" type="Sprite2D" parent="Ground/DeployLayer/新背景_奠"] +position = Vector2(655, -1) +texture = ExtResource("69_551fa") + +[node name="奠3" type="Sprite2D" parent="Ground/DeployLayer/新背景_奠"] +position = Vector2(799.5, -3) +texture = ExtResource("70_7dsxw") + +[node name="奠4" type="Sprite2D" parent="Ground/DeployLayer/新背景_奠"] +position = Vector2(1936.5, -3) +texture = ExtResource("71_xyc23") + +[node name="ParticalsAsh" parent="Ground/DeployLayer/新背景_奠" instance=ExtResource("72_qaity")] +z_index = 10 +position = Vector2(343, -175) + +[node name="ParticalsAsh2" parent="Ground/DeployLayer/新背景_奠" instance=ExtResource("72_qaity")] +z_index = 10 +position = Vector2(898, -162) + +[node name="ParticalsAsh_z_10" parent="Ground/DeployLayer/新背景_奠" instance=ExtResource("72_qaity")] +z_index = 10 +position = Vector2(1964, -209) + +[node name="Pickable浆糊" parent="Ground/DeployLayer" index="24" instance=ExtResource("26_kq5mn")] +position = Vector2(774, 64) +texture = ExtResource("73_0mdmm") +prop_key = "prop_浆糊" + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Pickable浆糊"] +script = ExtResource("15_pasx5") +updater_event = &"current_chapter_stage" +updater_ease_duration = 0.0 +updater_stages = Array[int]([3]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="Event2D浆糊" type="Node2D" parent="Ground/DeployLayer" index="25"] +position = Vector2(284, -5) +script = ExtResource("74_ys1c0") +event_name = &"c03_f1_paste_show" +event_stages = Array[int]([0]) +pre_event_name = &"current_chapter_stage" +pre_event_mode = "hide" +pre_event_stages = Array[int]([0, 1, 2]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D浆糊"] +position = Vector2(486, -7) +texture = ExtResource("43_0auoh") +texture_scale = 0.5 + +[node name="Pro胖子" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D浆糊"] +position = Vector2(511, 27) +scale = Vector2(0.95, 0.95) +sprite_frames = ExtResource("75_y1at6") +animation = &"胖子_撕寻人启事" +script = ExtResource("47_ycd0s") +autostart = false +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": 3 +}]) +move_configs = Array[Dictionary]([{ +"animation": "胖子_走路", +"animation_next": "", +"duration": 1e+07, +"movement_x": 600.0, +"velocity": Vector2(78, 0) +}]) +debug_mov_animation = "胖子_走路" +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Npc张文开" parent="Ground/DeployLayer/Event2D浆糊/Pro胖子" instance=ExtResource("45_g606l")] +position = Vector2(-5.26316, 9.47369) +enabled = false +hook_character_name = "张文开" + +[node name="Pro李氏" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D浆糊"] +position = Vector2(460, 32) +scale = Vector2(0.95, 0.95) +sprite_frames = ExtResource("75_y1at6") +animation = &"李氏_看向右边呼吸" +autoplay = "李氏_看向右边呼吸" +script = ExtResource("47_ycd0s") +move_configs = Array[Dictionary]([{ +"animation": "李氏_走路_右", +"animation_next": "", +"duration": 1e+07, +"movement_x": 600.0, +"velocity": Vector2(75, 0) +}]) +debug_mov_animation = "李氏_走路_右" +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Npc李兰" parent="Ground/DeployLayer/Event2D浆糊/Pro李氏" instance=ExtResource("45_g606l")] +position = Vector2(3.15785, 13.6842) +enabled = false +hook_character_name = "李兰" + +[node name="Pro癞子" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D浆糊"] +position = Vector2(592, 32) +scale = Vector2(0.95, 0.95) +sprite_frames = ExtResource("75_y1at6") +animation = &"辫子癞子_侧面呼吸" +autoplay = "辫子癞子_侧面呼吸" +script = ExtResource("47_ycd0s") +move_configs = Array[Dictionary]([{ +"animation": "辫子癞子_走路_右", +"animation_next": "", +"duration": 1e+07, +"movement_x": 500.0, +"velocity": Vector2(80, 0) +}]) +debug_mov_animation = "辫子癞子_走路_右" +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Npc王守义" parent="Ground/DeployLayer/Event2D浆糊/Pro癞子" instance=ExtResource("45_g606l")] +position = Vector2(-5.26316, 6.31579) +enabled = false +hook_character_name = "王守义" + +[node name="Event2D第二章结束井边演出" type="Node2D" parent="Ground/DeployLayer" index="26"] +position = Vector2(2100, 0) +script = ExtResource("76_cfx4a") +event_name = &"c03_well_show" +event_stages = Array[int]([1]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="Pro小蝉" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D第二章结束井边演出"] +position = Vector2(88, 54) +sprite_frames = ExtResource("61_l43hb") +animation = &"小婵呼吸" +script = ExtResource("47_ycd0s") +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Sfx井边演出结束" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D第二章结束井边演出"] +stream = ExtResource("41_3movs") +bus = &"game_sfx" +script = ExtResource("4_6pite") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="Sfx惊醒喘气" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D第二章结束井边演出"] +stream = ExtResource("77_oogo2") +volume_db = -5.0 +bus = &"game_sfx" +script = ExtResource("4_6pite") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="Event2D第二章_纸人" type="Node2D" parent="Ground/DeployLayer" index="27"] +script = ExtResource("78_5dvv8") +event_name = &"c03_well_show" +event_stages = Array[int]([0]) +pre_event_name = &"current_chapter_stage" +pre_event_stages = Array[int]([3]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="排队常人" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人"] +light_mask = 0 +position = Vector2(1233, -120) +texture = ExtResource("24_icg2g") +centered = false + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D第二章_纸人/排队常人"] +script = ExtResource("15_pasx5") +updater_event = &"c03_drug_game" +updater_mode = "shower" +updater_ease_duration = 0.0 +updater_stages = Array[int]([0]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="前景" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人/排队常人"] +light_mask = 0 +z_index = 21 +texture = ExtResource("79_8jl58") +centered = false + +[node name="排队纸人" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人"] +light_mask = 0 +position = Vector2(1233, -120) +texture = ExtResource("25_xr8be") +centered = false + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Event2D第二章_纸人/排队纸人"] +script = ExtResource("15_pasx5") +updater_event = &"c03_drug_game" +updater_mode = "shower" +updater_ease_duration = 0.0 +updater_stage_mode = "exclude" +updater_stages = Array[int]([0]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="前景" type="Sprite2D" parent="Ground/DeployLayer/Event2D第二章_纸人/排队纸人"] +light_mask = 0 +z_index = 21 +texture = ExtResource("80_mn1r6") +centered = false + +[node name="Event2D李氏给药完成" type="Node2D" parent="Ground/DeployLayer" index="28"] +position = Vector2(1858, 24) +script = ExtResource("81_b80nw") +event_name = &"c03_li_paperwoman" +event_stages = Array[int]([4, 5]) +pre_event_name = &"current_chapter_stage" +pre_event_stages = Array[int]([3, 4, 5]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="Sfx招魂幡" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D李氏给药完成"] +stream = ExtResource("41_3movs") +bus = &"game_sfx" +script = ExtResource("4_6pite") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="Sfx招魂幡鬼影擦肩" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D李氏给药完成"] +stream = ExtResource("42_nsxcx") +bus = &"game_sfx" +script = ExtResource("4_6pite") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="运尸车" type="Sprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"] +position = Vector2(-22, 25) +texture = ExtResource("82_fn0tw") + +[node name="Ambush招魂幡" parent="Ground/DeployLayer/Event2D李氏给药完成" instance=ExtResource("16_ift4e")] +position = Vector2(-124, -10) +trigger_mode = "interact" +one_shot = false +cooldown_time = 2.0 + +[node name="招魂幡" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"] +position = Vector2(-134, -29) +sprite_frames = ExtResource("83_52xvn") +animation = &"招魂幡" + +[node name="鬼差吸魂" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"] +visible = false +position = Vector2(34, -20) +sprite_frames = ExtResource("83_52xvn") +animation = &"鬼差吸魂" +autoplay = "鬼差吸魂" +flip_h = true +script = ExtResource("47_ycd0s") +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D李氏给药完成/鬼差吸魂"] +position = Vector2(12, -2) +color = Color(1, 0, 0, 1) +energy = 2.62 +texture = ExtResource("43_0auoh") + +[node name="Note李癞_奠" parent="Ground/DeployLayer" index="29" instance=ExtResource("22_bf8pe")] +position = Vector2(1937, -26) +title_filter = "c03" +note_key = "c03_s04_奠" + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Note李癞_奠"] +script = ExtResource("15_pasx5") +updater_event = &"c03_li_paperwoman" +updater_stages = Array[int]([5]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="Event第三章开幕" type="Node2D" parent="Ground/DeployLayer" index="30"] +position = Vector2(1490, 0) +script = ExtResource("84_2naha") +event_name = &"c03_intro_c04" +event_stages = Array[int]([0]) +pre_event_name = &"c03_well_show" +pre_event_stages = Array[int]([2]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="背景" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +light_mask = 5 +z_index = -1 +position = Vector2(169, -227.5) +texture = ExtResource("85_jpguy") + +[node name="二楼栏杆" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +z_index = 1 +position = Vector2(169, -227.5) +texture = ExtResource("86_o7teo") + +[node name="三楼栏杆" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +z_index = 1 +position = Vector2(169, -227.5) +texture = ExtResource("87_us1hg") + +[node name="邻居1" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +position = Vector2(169, -227.5) +texture = ExtResource("88_uxlg3") + +[node name="邻居2" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +position = Vector2(169, -227.5) +texture = ExtResource("89_jstv6") + +[node name="邻居3" type="Sprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +position = Vector2(169, -227.5) +texture = ExtResource("90_ot16w") + +[node name="Pro灰姑黑影" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +position = Vector2(169, -227.5) +sprite_frames = ExtResource("83_52xvn") +animation = &"第三章开幕_灰姑黑影" +autoplay = "第三章开幕_灰姑黑影" +script = ExtResource("47_ycd0s") +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Pro花盆掉落" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +z_index = 2 +position = Vector2(169, -227.5) +sprite_frames = ExtResource("83_52xvn") +animation = &"第三章开幕_花盆掉落" +script = ExtResource("47_ycd0s") +autostart = false +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Pro陆仁黑影" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +position = Vector2(169, -227.5) +sprite_frames = ExtResource("83_52xvn") +animation = &"第三章开幕_陆仁黑影" +autoplay = "第三章开幕_陆仁黑影" +script = ExtResource("47_ycd0s") +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event第三章开幕"] +position = Vector2(208, -594) +texture = ExtResource("43_0auoh") +texture_scale = 2.0 + +[node name="Pro棺材怪" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event第三章开幕"] +z_index = 21 +position = Vector2(-10, 238) +rotation = 1.57159 +sprite_frames = ExtResource("91_cx3hm") +animation = &"爬墙循环动画" +autoplay = "爬墙循环动画" +script = ExtResource("47_ycd0s") +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="Ambush第三章开幕" parent="Ground/DeployLayer/Event第三章开幕" instance=ExtResource("16_ift4e")] +position = Vector2(414, 46) +enter_affected_by_visibility = true + +[node name="CameraPivot" type="Marker2D" parent="Ground/DeployLayer/Event第三章开幕"] +position = Vector2(234, -1) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Ground/DeployLayer/Event第三章开幕"] +libraries = { +&"": SubResource("AnimationLibrary_0ek7o") +} + +[node name="Sfx花盆碎裂" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event第三章开幕"] +stream = ExtResource("92_3tx7c") +bus = &"game_sfx" +script = ExtResource("4_6pite") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="Event保卫科灯光闪烁C03" type="Node2D" parent="Ground/DeployLayer" index="31"] +script = ExtResource("78_5dvv8") +event_name = &"current_chapter_stage" +event_mode = "hide" +event_stages = Array[int]([0, 1, 2]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="Ambush保卫科灯光闪烁0" parent="Ground/DeployLayer/Event保卫科灯光闪烁C03" instance=ExtResource("16_ift4e")] +position = Vector2(979, 34) +enter_affected_by_visibility = true +hook_method = "c03_light_flip0" + +[node name="Ambush保卫科灯光闪烁1" parent="Ground/DeployLayer/Event保卫科灯光闪烁C03" instance=ExtResource("16_ift4e")] +position = Vector2(658, 33) +enter_affected_by_visibility = true +hook_method = "c03_light_flip1" + +[node name="Ambush保卫科灯光闪烁2" parent="Ground/DeployLayer/Event保卫科灯光闪烁C03" instance=ExtResource("16_ift4e")] +position = Vector2(342, 35) +enter_affected_by_visibility = true +hook_method = "c03_light_flip2" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/AmbientLayer" index="0"] +light_mask = 4 +position = Vector2(2189, -142) +rotation = 0.496352 +energy = 1.2 +range_item_cull_mask = 4 +texture = SubResource("GradientTexture2D_plfv5") + +[node name="MainPlayer" parent="Ground" index="5"] +position = Vector2(913, 93) +player_movement_rect = Rect2(17, -158, 2233, 316) +facing_direction = Vector2(-1, -1) + +[node name="CameraFocusMarker" parent="Ground" index="6"] +limit_right = 2380 + +[node name="BGParallaxLayer" parent="Ground/ParallaxForeground" index="0"] +use_parent_material = true + +[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"] +position = Vector2(-88, -7) +scale = Vector2(1.08, 1.08) + +[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"] +points = PackedVector2Array(17, 150, 2250, 150) + +[node name="DirectionalLight2D" parent="Ground" index="8"] +visible = false +energy = 0.6 +blend_mode = 1 + +[node name="UIPointLight2D" parent="Ground" index="10"] +position = Vector2(7051, 6) + +[node name="楼梯" type="Sprite2D" parent="Ground"] +light_mask = 0 +z_index = 20 +position = Vector2(1393.5, 0) +texture = ExtResource("93_7tdev") + +[editable path="Ground"] diff --git a/scene/ground/scene/c03/s14_二楼II.gd b/scene/ground/scene/c03/s14_二楼II.gd new file mode 100644 index 00000000..afe98dc1 --- /dev/null +++ b/scene/ground/scene/c03/s14_二楼II.gd @@ -0,0 +1,66 @@ +@tool +extends AnimationRoot + + +# 覆盖该方法 +func _default_data() -> Dictionary: + return {} + + +func _ready() -> void: + super._ready() + if Engine.is_editor_hint(): + return + + +func _on_ground_ready() -> void: + #c03_invite_xchan_supper: 0:初始化 1:已偷听_需邀请 2:完成邀请 + if EventManager.get_stage("c03_invite_xchan_supper") >= 1: + # 第二章,通往瞎子新卧室 & 理发店 + $"../DeployLayer/portal_1".enabled = true + $"../DeployLayer/portal_2".enabled = true + + # 胖子房间 + $"../DeployLayer/portal_4".unlocked.connect(_on_2013_unlocked) + + +func _toggle_candles(show: bool) -> void: + var candles = $"../DeployLayer/楼梯蜡烛" + var lights = candles.get_children() + if show: + var tween = create_tween() + tween.tween_property(candles, "modulate:a", 1.0, 1.0) + for light in lights: + tween.parallel().tween_property(light, "energy", 1.2, 1.0) + else: + candles.modulate.a = 0.0 + for light in lights: + # 默认保持 0.2 亮度,避免 mix 纯黑 + light.energy = 0.2 + + +func _on_2013_unlocked() -> void: + var l1 = $"../DeployLayer/煤油灯/PointLight2D" + var l2 = $"../DeployLayer/煤油灯/地面光" + var l3 = $"../DeployLayer/煤油灯2/地面光" + var l4 = $"../DeployLayer/煤油灯2/地面光" + var tween = create_tween() + # 所有灯和蜡烛火光不规律闪烁后熄灭 + var candles = $"../DeployLayer/楼梯蜡烛" + var lights = candles.get_children() + tween.tween_property(l1, "energy", 0.0, 0.5) + tween.parallel().tween_property(l2, "energy", 0.0, 0.5) + tween.parallel().tween_property(l3, "energy", 0.0, 0.5) + tween.parallel().tween_property(l4, "energy", 0.0, 0.5) + for light in lights: + var energy = randf_range(0.2, 0.4) + tween.parallel().tween_property(light, "energy", energy, 0.5) + tween.tween_interval(0.4) + for light in lights: + var energy = randf_range(0.5, 0.9) + tween.parallel().tween_property(light, "energy", energy, 0.4) + tween.tween_interval(0.3) + for light in lights: + # 默认保持 0.18 亮度,避免 mix 纯黑 + tween.parallel().tween_property(light, "energy", 0.18, 0.3) + # tween.tween_property(candles, "modulate:a", 0.0, 1.0) diff --git a/scene/ground/scene/c03/s14_二楼II.gd.uid b/scene/ground/scene/c03/s14_二楼II.gd.uid new file mode 100644 index 00000000..ed6de2be --- /dev/null +++ b/scene/ground/scene/c03/s14_二楼II.gd.uid @@ -0,0 +1 @@ +uid://c1bntwcoqh3rk diff --git a/scene/ground/scene/c03/s14_二楼II.tscn b/scene/ground/scene/c03/s14_二楼II.tscn new file mode 100644 index 00000000..0041494c --- /dev/null +++ b/scene/ground/scene/c03/s14_二楼II.tscn @@ -0,0 +1,529 @@ +[gd_scene load_steps=46 format=3 uid="uid://dtu1ou7prh07o"] + +[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_vqqpn"] +[ext_resource type="Script" uid="uid://c1bntwcoqh3rk" path="res://scene/ground/scene/c03/s14_二楼II.gd" id="2_jtw3n"] +[ext_resource type="AudioStream" uid="uid://6oc0cgc3mbqb" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道2.ogg" id="3_w6wfa"] +[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_tmsg2"] +[ext_resource type="Texture2D" uid="uid://6ol2om68cd1q" path="res://asset/art/scene/c02/s06_二楼楼道/bg_背景.png" id="8_up48v"] +[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="9_ffelw"] +[ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="10_58fv8"] +[ext_resource type="Texture2D" uid="uid://bxmc7pas3b6wa" path="res://asset/art/scene/c03/引导纸人/指引纸人4.png" id="11_2ixaj"] +[ext_resource type="Texture2D" uid="uid://c7hh6cvkahswt" path="res://asset/art/scene/c03/引导纸人/指引纸人4歪头.png" id="12_p7cwl"] +[ext_resource type="Script" uid="uid://cu4h3b6w2duwe" path="res://scene/ground/script/c02/s06_event_2d疯子跑开.gd" id="13_re1ne"] +[ext_resource type="AudioStream" uid="uid://dxx5lu2j88c7x" path="res://asset/audio/sfx/交互/第二章/sfx_s03_咔嚓转头.ogg" id="14_fv2j7"] +[ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="15_0aark"] +[ext_resource type="SpriteFrames" uid="uid://cee76qwjhw268" path="res://asset/art/gif/c03_二楼/c03_二楼_frames.tres" id="16_movn0"] +[ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="17_axtiq"] +[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="18_vxeij"] +[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="19_tdtft"] +[ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="20_hf2n0"] +[ext_resource type="SpriteFrames" uid="uid://c218xrr85jdc7" path="res://asset/art/gif/c03_小小小蝶上楼道/c03_小小小蝶上楼道_frames.tres" id="21_bhpmd"] +[ext_resource type="AudioStream" uid="uid://oya48ab6e3ye" path="res://asset/audio/sfx/旧版/child/小孩从远到近跑步.ogg" id="22_c3wdo"] +[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="23_1t0u2"] +[ext_resource type="Texture2D" uid="uid://b78jbthcfkod7" path="res://asset/art/scene/c02/s03_公寓一楼院子/地面物品反光/地反光3.png" id="24_7ccrm"] +[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="24_kmih1"] +[ext_resource type="Texture2D" uid="uid://1pr32tkx4ttl" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_煤油灯座.png" id="28_sf5bp"] +[ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/c02_杂项_frames.tres" id="29_4nbi4"] +[ext_resource type="Texture2D" uid="uid://0x7cl2cmcs6l" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕2.png" id="30_e6ky4"] +[ext_resource type="Texture2D" uid="uid://d33jmss6vlhk7" path="res://asset/art/scene/c02/s03_公寓一楼院子/地面物品反光/地反光2.png" id="31_gqgi5"] +[ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="38_n7xf7"] +[ext_resource type="PackedScene" uid="uid://trkypc4gox20" path="res://scene/ground/script/c02/水盆特写.tscn" id="40_h4mu1"] +[ext_resource type="Script" uid="uid://bkkiyk5jkdw4d" path="res://manager/event_manager/event2d.gd" id="50_ibpx8"] +[ext_resource type="Texture2D" uid="uid://o5uouajglukh" path="res://asset/art/scene/c02/s10_空房间/e_小蝉头套.png" id="51_4yewn"] +[ext_resource type="Script" uid="uid://bc8hqbn2avyon" path="res://scene/ground/script/c02/s06_event胖子拖小蝉.gd" id="54_bi2hl"] +[ext_resource type="SpriteFrames" uid="uid://b7fhheih1hbvf" path="res://config/animation/entity_sprite_frames.tres" id="55_85xca"] +[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="56_nvamy"] +[ext_resource type="Texture2D" uid="uid://crev0svowqla" path="res://asset/art/scene/c02/s06_二楼楼道/fg_前景.png" id="57_4q88g"] + +[sub_resource type="Animation" id="Animation_k01ve"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("DirectionalLight2D:energy") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.9] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("MainPlayer:hide_sprite") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("MainPlayer:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} + +[sub_resource type="Animation" id="Animation_lh55k"] +resource_name = "c02_final_show_end" +length = 12.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("MainPlayer:hide_sprite") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 3.8), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [true, false] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("MainPlayer:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} + +[sub_resource type="Animation" id="Animation_ciatp"] +resource_name = "c02_final_show_join" +length = 12.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("DirectionalLight2D:energy") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 12.1, 12.5), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [1.0, 1.0, 0.9] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("MainPlayer:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} + +[sub_resource type="Animation" id="Animation_p6da7"] +resource_name = "疯子撞墙" +length = 6.0 + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"] +_data = { +&"RESET": SubResource("Animation_k01ve"), +&"c02_final_show_end": SubResource("Animation_lh55k"), +&"c02_final_show_join": SubResource("Animation_ciatp"), +&"疯子撞墙": SubResource("Animation_p6da7") +} + +[sub_resource type="SpriteFrames" id="SpriteFrames_p6bap"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("11_2ixaj") +}, { +"duration": 1.0, +"texture": ExtResource("12_p7cwl") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"] +atlas = ExtResource("20_hf2n0") +region = Rect2(0, 0, 6, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_th1ek"] +atlas = ExtResource("20_hf2n0") +region = Rect2(6, 0, 6, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_to1d1"] +atlas = ExtResource("20_hf2n0") +region = Rect2(12, 0, 6, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nx6jy"] +atlas = ExtResource("20_hf2n0") +region = Rect2(18, 0, 6, 14) + +[sub_resource type="SpriteFrames" id="SpriteFrames_lipxo"] +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="S14" type="Node2D"] +metadata/_edit_horizontal_guides_ = [-12.0, 95.0] +metadata/_edit_vertical_guides_ = [24.0] + +[node name="Ground" parent="." instance=ExtResource("1_vqqpn")] +scene_name = "c03_s14" +player_y = 60 + +[node name="AnimationPlayer" parent="Ground" index="0"] +libraries = { +&"": SubResource("AnimationLibrary_k01ve") +} +script = ExtResource("2_jtw3n") + +[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"] +process_mode = 1 +stream = ExtResource("3_w6wfa") +volume_db = -5.0 +autoplay = true +bus = &"game_sfx" +script = ExtResource("4_tmsg2") +mode = "场景背景音" +"循环播放" = true +"感应玩家操作" = false +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="BGSprite2D" parent="Ground" index="2"] +light_mask = 5 +position = Vector2(0, -2) +texture = ExtResource("8_up48v") + +[node name="portal_left" parent="Ground/DeployLayer" index="0"] +position = Vector2(33, 8) +target_scene = "c02_s07" +target_portal = "1" + +[node name="portal_right" parent="Ground/DeployLayer" index="1"] +position = Vector2(873, 15) + +[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("9_ffelw")] +position = Vector2(108, 14) +debug_note = "瞎子卧室" +enabled = false +portal_name = "1" +target_scene = "c03_s02" +target_portal = "1" +status = "opened" + +[node name="portal_2" parent="Ground/DeployLayer" index="3" instance=ExtResource("9_ffelw")] +position = Vector2(222, 14) +debug_note = "瞎子理发店" +enabled = false +portal_name = "2" +target_scene = "c03_s03" +target_portal = "left" +status = "opened" + +[node name="portal_3" parent="Ground/DeployLayer" index="4" instance=ExtResource("9_ffelw")] +position = Vector2(798, 17) +debug_note = "上三楼" +portal_name = "3" +target_scene = "c03_s01" +target_portal = "right" + +[node name="portal_4" parent="Ground/DeployLayer" index="5" instance=ExtResource("9_ffelw")] +position = Vector2(554, 7) +debug_note = "胖子房间" +enabled = false +portal_name = "4" +target_scene = "c03_s06" +target_portal = "left" +status = "locked" +prop_key = "prop_2013钥匙" + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/portal_4"] +script = ExtResource("10_58fv8") +updater_event = &"current_chapter_stage" +updater_stage_mode = "exclude" +updater_stages = Array[int]([0, 1, 2]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="左侧纸人" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="6"] +position = Vector2(86, 31) +sprite_frames = SubResource("SpriteFrames_p6bap") + +[node name="Event2D疯子跑开" type="Node2D" parent="Ground/DeployLayer" index="7"] +position = Vector2(105, 2) +script = ExtResource("13_re1ne") +event_name = &"c03_f2_madman_runaway" +event_stages = Array[int]([0]) +pre_event_name = &"c03_invite_xchan_supper" +pre_event_mode = "hide" +pre_event_stages = Array[int]([0]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="Sfx纸人咔嚓转头" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event2D疯子跑开"] +stream = ExtResource("14_fv2j7") +bus = &"game_sfx" +script = ExtResource("4_tmsg2") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="Pro疯子慌张跑开" parent="Ground/DeployLayer/Event2D疯子跑开" instance=ExtResource("15_0aark")] +position = Vector2(102, 22) +sprite_frames = ExtResource("16_movn0") +animation = &"疯子_偷听呼吸" +autoplay = "疯子_偷听呼吸" +action_configs = Array[Dictionary]([{ +"animation_intro": "疯子_慌张转身", +&"animation_next": "疯子_慌张跑开", +"animation_wait_time": 0.0, +"intro_loop": 1 +}]) +move_configs = Array[Dictionary]([{ +"animation": "疯子_慌张跑开", +"animation_next": "", +"duration": 1e+07, +"movement_x": 1000.0, +"velocity": Vector2(-110, 0) +}]) +debug_mov_animation = "疯子_慌张跑开" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D疯子跑开/Pro疯子慌张跑开"] +position = Vector2(9, -9) +energy = 0.3 +texture = ExtResource("17_axtiq") + +[node name="Ambush疯子慌张跑开" parent="Ground/DeployLayer/Event2D疯子跑开" instance=ExtResource("18_vxeij")] +position = Vector2(192, 46) +enter_affected_by_visibility = true + +[node name="楼梯蜡烛" type="Node2D" parent="Ground/DeployLayer" index="8"] + +[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/楼梯蜡烛"] +position = Vector2(777.8, -48.2) +color = Color(0.999971, 0.912551, 0.842208, 1) +energy = 1.2 +blend_mode = 2 +texture = ExtResource("19_tdtft") +texture_scale = 0.3 + +[node name="小蜡烛" type="AnimatedSprite2D" parent="Ground/DeployLayer/楼梯蜡烛/小蜡烛PointLight2D"] +self_modulate = Color(0.611765, 0.611765, 0.611765, 1) +position = Vector2(0, 12.8172) +sprite_frames = SubResource("SpriteFrames_lipxo") +autoplay = "default" + +[node name="小蜡烛PointLight2D2" type="PointLight2D" parent="Ground/DeployLayer/楼梯蜡烛"] +position = Vector2(823, -18.8172) +color = Color(0.999971, 0.912551, 0.842208, 1) +energy = 1.2 +blend_mode = 2 +texture = ExtResource("19_tdtft") +texture_scale = 0.3 + +[node name="小蜡烛2" type="AnimatedSprite2D" parent="Ground/DeployLayer/楼梯蜡烛/小蜡烛PointLight2D2"] +self_modulate = Color(0.611765, 0.611765, 0.611765, 1) +position = Vector2(0, 12.8172) +sprite_frames = SubResource("SpriteFrames_lipxo") +autoplay = "default" + +[node name="小蜡烛PointLight2D3" type="PointLight2D" parent="Ground/DeployLayer/楼梯蜡烛"] +position = Vector2(774, -9.8172) +color = Color(0.999971, 0.912551, 0.842208, 1) +energy = 1.2 +blend_mode = 2 +texture = ExtResource("19_tdtft") +texture_scale = 0.3 + +[node name="小蜡烛3" type="AnimatedSprite2D" parent="Ground/DeployLayer/楼梯蜡烛/小蜡烛PointLight2D3"] +self_modulate = Color(0.611765, 0.611765, 0.611765, 1) +position = Vector2(0, 12.8172) +sprite_frames = SubResource("SpriteFrames_lipxo") +autoplay = "default" + +[node name="小蜡烛PointLight2D4" type="PointLight2D" parent="Ground/DeployLayer/楼梯蜡烛"] +position = Vector2(824, 43.1828) +color = Color(0.999971, 0.912551, 0.842208, 1) +energy = 1.2 +blend_mode = 2 +texture = ExtResource("19_tdtft") +texture_scale = 0.3 + +[node name="小蜡烛4" type="AnimatedSprite2D" parent="Ground/DeployLayer/楼梯蜡烛/小蜡烛PointLight2D4"] +self_modulate = Color(0.611765, 0.611765, 0.611765, 1) +position = Vector2(0, 12.8172) +sprite_frames = SubResource("SpriteFrames_lipxo") +autoplay = "default" + +[node name="Pro小小蝶上楼" parent="Ground/DeployLayer" index="9" instance=ExtResource("15_0aark")] +position = Vector2(953, 30) +sprite_frames = ExtResource("21_bhpmd") +animation = &"小小小蝶动画(跑)" +autoplay = "小小小蝶动画(呼吸)" +frame = 2 +flip_h = true +move_configs = Array[Dictionary]([{ +"animation": "小小小蝶动画(跑)", +"animation_next": "小小小蝶动画(上楼梯)", +"duration": 1e+07, +"movement_x": 150.0, +"velocity": Vector2(80, 0) +}]) +debug_mov_animation = "小小小蝶动画(跑)" + +[node name="Sfx2D脚步声" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Pro小小蝶上楼"] +stream = ExtResource("22_c3wdo") +max_distance = 1000.0 +attenuation = 1.31951 +bus = &"game_sfx" +script = ExtResource("23_1t0u2") +metadata/_custom_type_script = "uid://wapo47a1oddf" + +[node name="煤油灯" type="Sprite2D" parent="Ground/DeployLayer" index="10"] +position = Vector2(613, 1) +texture = ExtResource("28_sf5bp") + +[node name="灯光" type="AnimatedSprite2D" parent="Ground/DeployLayer/煤油灯"] +position = Vector2(4.5, -28) +scale = Vector2(0.3, 0.3) +sprite_frames = ExtResource("29_4nbi4") +animation = &"火苗" +autoplay = "火苗" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/煤油灯"] +position = Vector2(11, -17) +color = Color(1, 0.882353, 0.705882, 1) +energy = 1.5 +texture = ExtResource("30_e6ky4") + +[node name="地面光" type="PointLight2D" parent="Ground/DeployLayer/煤油灯"] +position = Vector2(12, 5) +energy = 0.3 +range_item_cull_mask = 4 +texture = ExtResource("24_7ccrm") + +[node name="煤油灯2" type="Sprite2D" parent="Ground/DeployLayer" index="11"] +position = Vector2(321, 1) +texture = ExtResource("28_sf5bp") + +[node name="灯光" type="AnimatedSprite2D" parent="Ground/DeployLayer/煤油灯2"] +position = Vector2(4.5, -28) +scale = Vector2(0.3, 0.3) +sprite_frames = ExtResource("29_4nbi4") +animation = &"火苗" +autoplay = "火苗" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/煤油灯2"] +position = Vector2(11, -17) +color = Color(1, 0.882353, 0.705882, 1) +energy = 1.5 +texture = ExtResource("30_e6ky4") + +[node name="地面光" type="PointLight2D" parent="Ground/DeployLayer/煤油灯2"] +position = Vector2(12, 5) +range_item_cull_mask = 4 +texture = ExtResource("31_gqgi5") + +[node name="Closeup水盆" parent="Ground/DeployLayer" index="12" instance=ExtResource("38_n7xf7")] +position = Vector2(289, 16) +packed_scene = ExtResource("40_h4mu1") +on_display_hide_hud = true +first_interact_os_key = "c02_二楼水盆" + +[node name="Event胖子卧室门口小蝉头套" type="Node2D" parent="Ground/DeployLayer" index="13"] +script = ExtResource("50_ibpx8") +event_name = &"c02_the_blind_room_stage" +event_stages = Array[int]([1]) +pre_event_name = &"current_chapter_stage" +pre_event_stages = Array[int]([2]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="Note小蝉的头套" parent="Ground/DeployLayer/Event胖子卧室门口小蝉头套" instance=ExtResource("24_kmih1")] +position = Vector2(543, 57) +texture = ExtResource("51_4yewn") +sign_mark_offset = Vector2(0, -7.47) +title_filter = "c02" +note_key = "c02_二楼小蝉头套" + +[node name="Event胖子拖小蝉" type="Node2D" parent="Ground/DeployLayer" index="14"] +script = ExtResource("54_bi2hl") +event_name = &"c03_pangzi_pull_xchan" +event_stages = Array[int]([1]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="胖子拖小蝉" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event胖子拖小蝉"] +position = Vector2(190, 29) +sprite_frames = ExtResource("55_85xca") +animation = &"c03_胖子_托小孩" +script = ExtResource("56_nvamy") +autostart = false +action_configs = Array[Dictionary]([{ +"animation_intro": &"c03_胖子_托小孩", +&"animation_next": "c03_胖子_拖小孩_走", +"animation_wait_time": 0.0, +"intro_loop": 1 +}]) +move_configs = Array[Dictionary]([{ +"animation": "c03_胖子_拖小孩_走", +"animation_next": "c03_胖子_托小孩_停", +"duration": 1e+07, +"movement_x": 450.0, +"velocity": Vector2(80, 0) +}]) +debug_mov_animation = "c03_胖子_拖小孩_走" +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event胖子拖小蝉/胖子拖小蝉"] +position = Vector2(-8, -1) +color = Color(1, 0.829639, 0.785629, 1) +energy = 0.15 +texture = ExtResource("19_tdtft") + +[node name="MainPlayer" parent="Ground" index="5"] +position = Vector2(49, 98) +catty_light_energy = 0.5 +player_movement_rect = Rect2(26, -158, 874, 316) +facing_direction = Vector2(1, 0) + +[node name="CameraFocusMarker" parent="Ground" index="6"] +limit_right = 927 + +[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"] +position = Vector2(0, -5) +scale = Vector2(1.1, 1.1) +texture = ExtResource("57_4q88g") + +[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"] +points = PackedVector2Array(26, 150, 900, 150) + +[node name="DirectionalLight2D" parent="Ground" index="8"] +visible = false +energy = 0.9 +blend_mode = 1 + +[editable path="Ground"]