Compare commits
6 Commits
7f5f1af170
...
2f07ffbb8f
Author | SHA1 | Date | |
---|---|---|---|
2f07ffbb8f | |||
96395cc478 | |||
eaf654b8d1 | |||
35ced6237b | |||
9afb3c6677 | |||
c6b519031b |
@ -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
|
||||
|
@ -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)
|
@ -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)
|
||||
|
@ -104,6 +104,7 @@ func wood_puppet() -> void:
|
||||
closeup.display()
|
||||
await closeup.exit
|
||||
SceneManager.get_player().toggle_pause_state(false)
|
||||
await Util.wait(3.0)
|
||||
await SceneManager.pop_os_with_str("c02_获得木头人偶")
|
||||
SceneManager.unlock_player()
|
||||
EventManager.set_stage_if_greater(&"handnote_c02_xchan_sheKnowsMe", 1)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -83,6 +83,7 @@ func _on_body_interacted(success: bool) -> void:
|
||||
SceneManager.lock_player()
|
||||
body_sprite.play()
|
||||
await body_sprite.animation_finished
|
||||
$"Sfx尸体掉落".play()
|
||||
SceneManager.unlock_player()
|
||||
# SceneManager.enable_prop_item("prop_转轮")
|
||||
# await SceneManager.get_inspector().quit_and_hidden
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=35 format=3 uid="uid://bixdbbyhroepi"]
|
||||
[gd_scene load_steps=37 format=3 uid="uid://bixdbbyhroepi"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_fusj3"]
|
||||
[ext_resource type="Script" uid="uid://ddrlpkqfabx6d" path="res://scene/ground/scene/c03/s08_囚室.gd" id="2_fusj3"]
|
||||
@ -21,6 +21,8 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dsa6frlw6e6gg" path="res://scene/entity/pickable.tscn" id="16_7eou8"]
|
||||
[ext_resource type="PackedScene" uid="uid://jyi40p8ylsj1" path="res://scene/ground/script/c03/s08_closeup符纸.tscn" id="17_06t0x"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpjqwfihjol7t" path="res://asset/art/scene/c03/s08_囚室/符纸.png" id="17_7eou8"]
|
||||
[ext_resource type="AudioStream" uid="uid://ce3p55nnts4v5" path="res://asset/audio/effect/action/cloth2.ogg" id="17_u8vcj"]
|
||||
[ext_resource type="AudioStream" uid="uid://dph8v3v5mq1xl" path="res://asset/audio/sfx/交互/sfx_交互失败.ogg" id="18_twson"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cwes55ajc3rd4" path="res://asset/art/gif/c02_空房间/c02_空房间_frames.tres" id="19_cnbie"]
|
||||
[ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="20_vu7oc"]
|
||||
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="21_cvhc1"]
|
||||
@ -172,6 +174,12 @@ bus = &"game_sfx"
|
||||
script = ExtResource("4_2jtaw")
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="Sfx尸体掉落" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
|
||||
stream = ExtResource("17_u8vcj")
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("4_2jtaw")
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="BGSprite2D" parent="Ground" index="2"]
|
||||
light_mask = 5
|
||||
position = Vector2(8, 0)
|
||||
@ -239,7 +247,9 @@ unique_name_in_owner = true
|
||||
position = Vector2(205, -13)
|
||||
offset = Vector2(0, -50)
|
||||
first_interact_os_key = "c03_s08_囚室绳子"
|
||||
mute_when_interacted = true
|
||||
interacted_texture = ExtResource("15_jdv4a")
|
||||
stream_invalid_replacement = ExtResource("18_twson")
|
||||
prop_key = "prop_菜刀"
|
||||
|
||||
[node name="尸体动画" type="AnimatedSprite2D" parent="Ground/DeployLayer/Interactable囚室尸体"]
|
||||
|
120
scene/ground/scene/c03/s13_院子II.gd
Normal file
120
scene/ground/scene/c03/s13_院子II.gd
Normal file
@ -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)
|
1
scene/ground/scene/c03/s13_院子II.gd.uid
Normal file
1
scene/ground/scene/c03/s13_院子II.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://bgahyojxlgysm
|
1041
scene/ground/scene/c03/s13_院子II.tscn
Normal file
1041
scene/ground/scene/c03/s13_院子II.tscn
Normal file
File diff suppressed because it is too large
Load Diff
70
scene/ground/scene/c03/s14_二楼II.gd
Normal file
70
scene/ground/scene/c03/s14_二楼II.gd
Normal file
@ -0,0 +1,70 @@
|
||||
@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 s1 = $"../DeployLayer/煤油灯/灯光"
|
||||
var s2 = $"../DeployLayer/煤油灯2/灯光"
|
||||
var l1 = $"../DeployLayer/煤油灯/PointLight2D"
|
||||
var l2 = $"../DeployLayer/煤油灯/地面光"
|
||||
var l3 = $"../DeployLayer/煤油灯2/PointLight2D"
|
||||
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)
|
||||
tween.parallel().tween_property(s1, "modulate:a", 0.0, 0.5)
|
||||
tween.parallel().tween_property(s2, "modulate:a", 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)
|
1
scene/ground/scene/c03/s14_二楼II.gd.uid
Normal file
1
scene/ground/scene/c03/s14_二楼II.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://c1bntwcoqh3rk
|
528
scene/ground/scene/c03/s14_二楼II.tscn
Normal file
528
scene/ground/scene/c03/s14_二楼II.tscn
Normal file
@ -0,0 +1,528 @@
|
||||
[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
|
||||
|
||||
[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"]
|
@ -79,6 +79,7 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
knife_state = 2
|
||||
%"胶水".hide()
|
||||
%"刀有柄".show()
|
||||
$"Sfx安装刀柄".play()
|
||||
SceneManager.disable_prop_item_temp("prop_刀把")
|
||||
hover_knife.freezing = false
|
||||
else:
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://btmen4wc4uhhj"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://btmen4wc4uhhj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cj22vg4dn44qk" path="res://scene/ground/script/c03/s09_closeup棺材特写.gd" id="1_6v1ol"]
|
||||
[ext_resource type="Texture2D" uid="uid://d03ja5ujdmyce" path="res://asset/art/scene/c03/s09_棺材房/棺材互动/棺材特写.png" id="2_6xi18"]
|
||||
@ -6,6 +6,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="2_f6kiq"]
|
||||
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_mobd5"]
|
||||
[ext_resource type="AudioStream" uid="uid://has5y3j2yyp7" path="res://asset/audio/sfx/UI/纸条包裹钥匙.ogg" id="4_7k28m"]
|
||||
[ext_resource type="AudioStream" uid="uid://dogdhy18r3bf8" path="res://asset/audio/effect/action/creak1.ogg" id="5_ld65o"]
|
||||
[ext_resource type="Texture2D" uid="uid://ush0d2g8uj08" path="res://asset/art/scene/c03/s09_棺材房/棺材互动/带血的纸条.png" id="6_ok7al"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkk1rxx36ghrl" path="res://scene/entity/ux/hover_light_click_area.tscn" id="10_t53mt"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkn0cytl435yw" path="res://asset/art/scene/c03/s09_棺材房/棺材互动/刀.png" id="11_ok7al"]
|
||||
@ -33,6 +34,12 @@ bus = &"game_sfx"
|
||||
script = ExtResource("3_mobd5")
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="Sfx安装刀柄" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("5_ld65o")
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("3_mobd5")
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="BG" type="TextureRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
@ -273,7 +273,7 @@ func _chechout_stage(s: int, play_sfx := true) -> void:
|
||||
sfx_close_lid.play()
|
||||
1:
|
||||
if not ArchiveManager.get_global_value(&"c02_musicbox_has_opened"):
|
||||
ArchiveManager.set_global_entry(&"c02_musicbox_has_opened", false)
|
||||
ArchiveManager.set_global_entry(&"c02_musicbox_has_opened", true)
|
||||
SceneManager.pop_center_notification("c02_s02_八音盒缺人偶")
|
||||
else:
|
||||
SceneManager.pop_center_notification("ui_center_notify_use_prop")
|
||||
|
Loading…
Reference in New Issue
Block a user