382 lines
13 KiB
Plaintext
382 lines
13 KiB
Plaintext
[gd_scene load_steps=33 format=3 uid="uid://dlrbhfvnd3cs0"]
|
||
|
||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_eb2op"]
|
||
[ext_resource type="Script" uid="uid://c0rh2n36ait6i" path="res://scene/ground/scene/c03/s01_三楼.gd" id="2_ow08b"]
|
||
[ext_resource type="AudioStream" uid="uid://bjwguxsoehrne" path="res://asset/audio/sfx/环境音/第一章/楼道场景2.ogg" id="3_hmme5"]
|
||
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_1ebn8"]
|
||
[ext_resource type="Texture2D" uid="uid://cpjd3dqri51fq" path="res://asset/art/scene/c03/s01_三楼/bg_三楼走廊.png" id="4_ow08b"]
|
||
[ext_resource type="Texture2D" uid="uid://b7t2sfe5ugtsc" path="res://asset/art/scene/c03/引导纸人/指引纸人3.png" id="5_fnwup"]
|
||
[ext_resource type="Texture2D" uid="uid://djoft6600kly6" path="res://asset/art/scene/c03/s01_三楼/fg_前景.png" id="5_ow08b"]
|
||
[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="5_tutxu"]
|
||
[ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="6_obrgj"]
|
||
[ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="6_yaa68"]
|
||
[ext_resource type="PackedScene" uid="uid://wvb1wy8l28et" path="res://scene/ground/script/c03/s01_closeup_demo公告.tscn" id="7_d27sg"]
|
||
[ext_resource type="Script" uid="uid://bkkiyk5jkdw4d" path="res://manager/event_manager/event2d.gd" id="7_obrgj"]
|
||
[ext_resource type="SpriteFrames" uid="uid://cljrkkmy2pwdp" path="res://asset/art/gif/c03_三楼/c03_三楼_frames.tres" id="10_krvxg"]
|
||
[ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="11_4y4hg"]
|
||
[ext_resource type="Texture2D" uid="uid://brsrkwf0k0bpn" path="res://asset/art/scene/demo额外/demo感谢告示(场景).png" id="11_amci2"]
|
||
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="12_5ov12"]
|
||
[ext_resource type="Texture2D" uid="uid://1pr32tkx4ttl" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_煤油灯座.png" id="13_1031a"]
|
||
[ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/c02_杂项_frames.tres" id="14_v0mby"]
|
||
[ext_resource type="Texture2D" uid="uid://0x7cl2cmcs6l" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕2.png" id="15_fnwup"]
|
||
[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="18_0xq6i"]
|
||
[ext_resource type="Texture2D" uid="uid://dagy852q0fduh" path="res://asset/art/scene/c03/s01_三楼/e_治病木牌.png" id="19_hmme5"]
|
||
|
||
[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 = 14.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="AnimationLibrary" id="AnimationLibrary_k01ve"]
|
||
_data = {
|
||
&"RESET": SubResource("Animation_k01ve"),
|
||
&"c02_final_show_end": SubResource("Animation_lh55k"),
|
||
&"c02_final_show_join": SubResource("Animation_ciatp")
|
||
}
|
||
|
||
[sub_resource type="Gradient" id="Gradient_krvxg"]
|
||
interpolation_mode = 2
|
||
offsets = PackedFloat32Array(0, 0.693168, 1)
|
||
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
|
||
|
||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_4rrrd"]
|
||
gradient = SubResource("Gradient_krvxg")
|
||
height = 100
|
||
fill = 2
|
||
fill_from = Vector2(0.5, 0.5)
|
||
|
||
[sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"]
|
||
atlas = ExtResource("11_4y4hg")
|
||
region = Rect2(0, 0, 6, 14)
|
||
|
||
[sub_resource type="AtlasTexture" id="AtlasTexture_th1ek"]
|
||
atlas = ExtResource("11_4y4hg")
|
||
region = Rect2(6, 0, 6, 14)
|
||
|
||
[sub_resource type="AtlasTexture" id="AtlasTexture_to1d1"]
|
||
atlas = ExtResource("11_4y4hg")
|
||
region = Rect2(12, 0, 6, 14)
|
||
|
||
[sub_resource type="AtlasTexture" id="AtlasTexture_nx6jy"]
|
||
atlas = ExtResource("11_4y4hg")
|
||
region = Rect2(18, 0, 6, 14)
|
||
|
||
[sub_resource type="SpriteFrames" id="SpriteFrames_w4rk2"]
|
||
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="S01" type="Node2D"]
|
||
metadata/_edit_horizontal_guides_ = [98.0]
|
||
|
||
[node name="Ground" parent="." instance=ExtResource("1_eb2op")]
|
||
scene_name = "c03_s01"
|
||
player_y = 60
|
||
|
||
[node name="AnimationPlayer" parent="Ground" index="0"]
|
||
libraries = {
|
||
&"": SubResource("AnimationLibrary_k01ve")
|
||
}
|
||
script = ExtResource("2_ow08b")
|
||
|
||
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
|
||
process_mode = 1
|
||
stream = ExtResource("3_hmme5")
|
||
volume_db = -5.0
|
||
autoplay = true
|
||
bus = &"game_sfx"
|
||
script = ExtResource("4_1ebn8")
|
||
mode = "场景背景音"
|
||
"循环播放" = true
|
||
"感应玩家操作" = false
|
||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||
|
||
[node name="BGSprite2D" parent="Ground" index="2"]
|
||
light_mask = 5
|
||
position = Vector2(0, -24)
|
||
texture = ExtResource("4_ow08b")
|
||
offset = Vector2(0, -155)
|
||
|
||
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
|
||
position = Vector2(34, 8)
|
||
|
||
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
|
||
position = Vector2(697, 18)
|
||
target_scene = "c02_s06"
|
||
target_portal = "3"
|
||
|
||
[node name="互动公告" type="Sprite2D" parent="Ground/DeployLayer" index="2"]
|
||
position = Vector2(377, 30)
|
||
scale = Vector2(0.8, 0.8)
|
||
texture = ExtResource("5_fnwup")
|
||
flip_h = true
|
||
|
||
[node name="Note治病木牌" parent="Ground/DeployLayer" index="3" instance=ExtResource("18_0xq6i")]
|
||
position = Vector2(456, 47)
|
||
texture = ExtResource("19_hmme5")
|
||
title_filter = "c03"
|
||
note_key = "c03_s01_门口看病牌子"
|
||
|
||
[node name="Interactable放肉处" parent="Ground/DeployLayer" index="4" instance=ExtResource("5_tutxu")]
|
||
position = Vector2(567, 39)
|
||
disable_prop_after_interacted = true
|
||
prop_key = "prop_奇怪的肉"
|
||
|
||
[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Interactable放肉处"]
|
||
script = ExtResource("6_yaa68")
|
||
trigger_event = &"c03_s01_meat_put"
|
||
trigger_mode = "interacted"
|
||
metadata/_custom_type_script = "uid://0wjaho6qkg6s"
|
||
|
||
[node name="Event2D放肉后" type="Node2D" parent="Ground/DeployLayer" index="5"]
|
||
script = ExtResource("7_obrgj")
|
||
event_name = &"c03_s01_meat_put"
|
||
event_stages = Array[int]([1])
|
||
metadata/_custom_type_script = "uid://bkkiyk5jkdw4d"
|
||
|
||
[node name="窗口闪动" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D放肉后"]
|
||
position = Vector2(434, -15)
|
||
sprite_frames = ExtResource("10_krvxg")
|
||
animation = &"三楼窗户动画"
|
||
autoplay = "三楼窗户动画"
|
||
frame = 5
|
||
frame_progress = 0.482491
|
||
|
||
[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event2D放肉后/窗口闪动"]
|
||
scale = Vector2(1.12987, 0.87752)
|
||
texture = SubResource("GradientTexture2D_4rrrd")
|
||
|
||
[node name="CloseupDemo公告" parent="Ground/DeployLayer/Event2D放肉后" instance=ExtResource("6_obrgj")]
|
||
position = Vector2(573, -6)
|
||
texture = ExtResource("11_amci2")
|
||
packed_scene = ExtResource("7_d27sg")
|
||
|
||
[node name="小蜡烛系列" type="Node2D" parent="Ground/DeployLayer" index="6"]
|
||
position = Vector2(0, 6)
|
||
|
||
[node name="小蜡烛" type="AnimatedSprite2D" parent="Ground/DeployLayer/小蜡烛系列"]
|
||
self_modulate = Color(0.611765, 0.611765, 0.611765, 1)
|
||
position = Vector2(680, 48)
|
||
sprite_frames = SubResource("SpriteFrames_w4rk2")
|
||
autoplay = "default"
|
||
|
||
[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/小蜡烛系列/小蜡烛"]
|
||
position = Vector2(0, -12.8172)
|
||
color = Color(0.999971, 0.912551, 0.842208, 1)
|
||
energy = 1.2
|
||
blend_mode = 2
|
||
texture = ExtResource("12_5ov12")
|
||
texture_scale = 0.3
|
||
|
||
[node name="小蜡烛2" type="AnimatedSprite2D" parent="Ground/DeployLayer/小蜡烛系列"]
|
||
self_modulate = Color(0.611765, 0.611765, 0.611765, 1)
|
||
position = Vector2(585, 51)
|
||
sprite_frames = SubResource("SpriteFrames_w4rk2")
|
||
autoplay = "default"
|
||
|
||
[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/小蜡烛系列/小蜡烛2"]
|
||
position = Vector2(0, -12.8172)
|
||
color = Color(0.999971, 0.912551, 0.842208, 1)
|
||
energy = 1.2
|
||
blend_mode = 2
|
||
texture = ExtResource("12_5ov12")
|
||
texture_scale = 0.3
|
||
|
||
[node name="小蜡烛3" type="AnimatedSprite2D" parent="Ground/DeployLayer/小蜡烛系列"]
|
||
self_modulate = Color(0.611765, 0.611765, 0.611765, 1)
|
||
position = Vector2(283, -3)
|
||
sprite_frames = SubResource("SpriteFrames_w4rk2")
|
||
autoplay = "default"
|
||
|
||
[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/小蜡烛系列/小蜡烛3"]
|
||
position = Vector2(0, -12.8172)
|
||
color = Color(0.999971, 0.912551, 0.842208, 1)
|
||
energy = 1.2
|
||
blend_mode = 2
|
||
texture = ExtResource("12_5ov12")
|
||
texture_scale = 0.3
|
||
|
||
[node name="小蜡烛4" type="AnimatedSprite2D" parent="Ground/DeployLayer/小蜡烛系列"]
|
||
self_modulate = Color(0.611765, 0.611765, 0.611765, 1)
|
||
position = Vector2(106, 4)
|
||
sprite_frames = SubResource("SpriteFrames_w4rk2")
|
||
autoplay = "default"
|
||
|
||
[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/小蜡烛系列/小蜡烛4"]
|
||
position = Vector2(0, -12.8172)
|
||
color = Color(0.999971, 0.912551, 0.842208, 1)
|
||
energy = 1.2
|
||
blend_mode = 2
|
||
texture = ExtResource("12_5ov12")
|
||
texture_scale = 0.3
|
||
|
||
[node name="小蜡烛5" type="AnimatedSprite2D" parent="Ground/DeployLayer/小蜡烛系列"]
|
||
self_modulate = Color(0.611765, 0.611765, 0.611765, 1)
|
||
position = Vector2(223, -49)
|
||
sprite_frames = SubResource("SpriteFrames_w4rk2")
|
||
autoplay = "default"
|
||
|
||
[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/小蜡烛系列/小蜡烛5"]
|
||
position = Vector2(0, -12.8172)
|
||
color = Color(0.999971, 0.912551, 0.842208, 1)
|
||
energy = 1.2
|
||
blend_mode = 2
|
||
texture = ExtResource("12_5ov12")
|
||
texture_scale = 0.3
|
||
|
||
[node name="煤油灯2" type="Sprite2D" parent="Ground/DeployLayer" index="7"]
|
||
position = Vector2(469, 2)
|
||
texture = ExtResource("13_1031a")
|
||
|
||
[node name="灯光" type="AnimatedSprite2D" parent="Ground/DeployLayer/煤油灯2"]
|
||
position = Vector2(4.5, -28)
|
||
scale = Vector2(0.3, 0.3)
|
||
sprite_frames = ExtResource("14_v0mby")
|
||
animation = &"火苗"
|
||
autoplay = "火苗"
|
||
|
||
[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/煤油灯2"]
|
||
position = Vector2(11, -17)
|
||
color = Color(1, 0.882353, 0.705882, 1)
|
||
energy = 2.0
|
||
blend_mode = 2
|
||
texture = ExtResource("15_fnwup")
|
||
|
||
[node name="纸人" type="Sprite2D" parent="Ground/DeployLayer" index="8"]
|
||
position = Vector2(377, 30)
|
||
scale = Vector2(0.8, 0.8)
|
||
texture = ExtResource("5_fnwup")
|
||
flip_h = true
|
||
|
||
[node name="MainPlayer" parent="Ground" index="5"]
|
||
position = Vector2(34, 98)
|
||
catty_light_energy = 0.5
|
||
player_movement_rect = Rect2(30, -158, 693, 316)
|
||
facing_direction = Vector2(1, 0)
|
||
|
||
[node name="CameraFocusMarker" parent="Ground" index="6"]
|
||
limit_left = 0
|
||
limit_top = -158
|
||
limit_right = 749
|
||
limit_bottom = 158
|
||
|
||
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
|
||
visible = false
|
||
position = Vector2(0, -5)
|
||
scale = Vector2(1.1, 1.1)
|
||
texture = ExtResource("5_ow08b")
|
||
|
||
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
|
||
points = PackedVector2Array(30, 151, 723, 150)
|
||
|
||
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
||
energy = 0.9
|
||
blend_mode = 1
|
||
|
||
[editable path="Ground"]
|