xiandie/scene/ground/scene/c02/s06_二楼.tscn

445 lines
15 KiB
Plaintext

[gd_scene load_steps=31 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_animation.gd" id="2_4dg6u"]
[ext_resource type="Texture2D" uid="uid://6ol2om68cd1q" path="res://asset/art/scene/c02/s06_二楼楼道/bg_背景.png" id="3_och2w"]
[ext_resource type="AudioStream" uid="uid://blf1rtu71vy17" path="res://asset/audio/sfx/环境音/第一章/楼道场景1.wav" id="3_yolsv"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/general/sfx.gd" id="4_2e08x"]
[ext_resource type="AudioStream" uid="uid://ce3p55nnts4v5" path="res://asset/audio/effect/action/cloth2.ogg" id="4_58e26"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_haidv"]
[ext_resource type="PackedScene" uid="uid://cxw5rovg5mu1a" path="res://scene/ground/script/c02/s00_煤油灯.tscn" id="5_3p5ta"]
[ext_resource type="Texture2D" uid="uid://crev0svowqla" path="res://asset/art/scene/c02/s06_二楼楼道/fg_前景.png" id="5_26mqt"]
[ext_resource type="Texture2D" uid="uid://b78jbthcfkod7" path="res://asset/art/scene/c02/s03_公寓一楼院子/地面物品反光/地反光3.png" id="6_vbvbc"]
[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="7_0d746"]
[ext_resource type="Texture2D" uid="uid://b7uo33bdiwpl3" path="res://asset/art/scene/c02/s03_公寓一楼院子/地面物品反光/地反光4.png" id="8_7x2h6"]
[ext_resource type="SpriteFrames" uid="uid://blij4obvhb1vf" path="res://asset/art/gif/c02_公寓过道/frames.tres" id="8_nh8we"]
[ext_resource type="PackedScene" uid="uid://8frowlq301" path="res://scene/ground/script/c02/s00_跟随的老鼠.tscn" id="9_58d45"]
[ext_resource type="SpriteFrames" uid="uid://c8dl7c68f1yb0" path="res://asset/art/gif/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="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="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/general/sfx2d.gd" id="14_7x2h6"]
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="14_k01ve"]
[ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/frames.tres" id="14_och2w"]
[ext_resource type="SpriteFrames" uid="uid://b0icyhxpj16tv" path="res://asset/art/gif/c02_谢幕演出/frames.tres" id="15_k01ve"]
[ext_resource type="PackedScene" uid="uid://trkypc4gox20" path="res://scene/ground/script/c02/水盆特写.tscn" id="16_p6da7"]
[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("DeployLayer/c02_final/PointLight2D:energy")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("DeployLayer/煤油灯:gaslight_energy")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [2.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("DeployLayer/煤油灯:gaslight_ground_energy")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [2.0]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("DeployLayer/疯子撞墙:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("DeployLayer/疯子撞墙:position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(221, 4)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("DeployLayer/疯子撞墙:animation")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [&"疯子跑动"]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("DeployLayer/疯子撞墙/疯子撞墙Sfx2D:playing")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_ciatp"]
resource_name = "c02_final_show_join"
length = 22.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("DeployLayer/c02_final/PointLight2D:energy")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(1.13333, 2.53333, 14.8333, 16.6333),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [0.0, 2.0, 2.0, 0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("DeployLayer/c02_final:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.0333333, 18.8),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [true, false]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("DeployLayer/煤油灯:gaslight_energy")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 1.33333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 2.0]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("DeployLayer/煤油灯:gaslight_ground_energy")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 1.33333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 2.0]
}
[sub_resource type="Animation" id="Animation_yolsv"]
resource_name = "c02_final_show_quit"
[sub_resource type="Animation" id="Animation_p6da7"]
resource_name = "疯子撞墙"
length = 6.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("DeployLayer/疯子撞墙:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("DeployLayer/疯子撞墙:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 3.66667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(221, 0), Vector2(600, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("DeployLayer/疯子撞墙:animation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(3.66667),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [&"疯子跪下"]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("DeployLayer/疯子撞墙/疯子撞墙Sfx2D:playing")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(3.46667),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
_data = {
&"RESET": SubResource("Animation_k01ve"),
&"c02_final_show_join": SubResource("Animation_ciatp"),
&"c02_final_show_quit": SubResource("Animation_yolsv"),
&"疯子撞墙": SubResource("Animation_p6da7")
}
[sub_resource type="Gradient" id="Gradient_och2w"]
offsets = PackedFloat32Array(0, 0.465517, 0.734748)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0.252621, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_p6da7"]
gradient = SubResource("Gradient_och2w")
width = 400
height = 300
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 1)
[node name="S06" type="Node2D"]
[node name="Ground" parent="." instance=ExtResource("1_qkymk")]
scene_name = "c02_s06"
player_y = 60
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_4dg6u")
data = {
"c02_final_show": false,
"oneshot_animation_played": false
}
oneshot_animation = ""
[node name="背景音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_yolsv")
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_2e08x")
mode = "场景背景音"
"自动开始" = true
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Sfx翻找东西" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
bus = &"game_sfx"
script = ExtResource("4_2e08x")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Sfx擦亮火柴" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
bus = &"game_sfx"
script = ExtResource("4_2e08x")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="1"]
light_mask = 5
position = Vector2(0, -2)
texture = ExtResource("3_och2w")
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(34, 8)
target_scene = "c02_s07"
target_portal = "1"
matched_sign_texture = null
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(899, 17)
matched_sign_texture = null
[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("4_haidv")]
position = Vector2(108, 14)
debug_note = "瞎子卧室"
portal_name = "1"
target_scene = "c02_s08"
target_portal = "left"
status = "locked"
matched_sign_texture = null
prop_key = "prop_2014钥匙"
[node name="煤油灯" parent="Ground/DeployLayer" index="3" instance=ExtResource("5_3p5ta")]
position = Vector2(616, -14)
ground_light_texture = ExtResource("8_7x2h6")
gaslight_energy = 2.0
gaslight_ground_energy = 2.0
ground_height_offset = 15.0
[node name="煤油灯2" parent="Ground/DeployLayer" index="4" instance=ExtResource("5_3p5ta")]
position = Vector2(329, -14)
ground_light_texture = ExtResource("6_vbvbc")
gaslight_energy = 2.0
ground_height_offset = 15.0
[node name="Interactable老鼠洞" parent="Ground/DeployLayer" index="5" instance=ExtResource("7_0d746")]
position = Vector2(610, 50)
enabled = false
one_shot_max_times = 2
disable_prop_after_interacted = true
prop_key = "prop_小鞋子1"
prop_key2 = "prop_小鞋子2"
[node name="小老鼠拖鞋子" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="6"]
visible = false
position = Vector2(608, -15)
sprite_frames = ExtResource("8_nh8we")
animation = &"老鼠托小鞋子"
speed_scale = -1.0
[node name="自动跟随的老鼠" parent="Ground/DeployLayer" index="7" 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="8" instance=ExtResource("10_p6da7")]
visible = false
position = Vector2(221, 4)
sprite_frames = ExtResource("10_och2w")
animation = &"疯子跑动"
autostart = false
action_configs = Array[Dictionary]([{
"animation_intro": "疯子跪下",
&"animation_next": "疯子撞墙",
"animation_wait_time": 0.0,
"intro_loop": 1
}])
[node name="疯子撞墙Sfx2D" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/疯子撞墙"]
position = Vector2(5, 28)
stream = ExtResource("4_58e26")
max_distance = 600.0
attenuation = 3.0
bus = &"game_sfx"
script = ExtResource("14_7x2h6")
loop = true
metadata/_custom_type_script = "uid://wapo47a1oddf"
[node name="Ambush三男孩" parent="Ground/DeployLayer" index="9" instance=ExtResource("14_k01ve")]
visible = false
position = Vector2(167, 38)
enabled = false
trigger_mode = "interact"
one_shot = false
freeze_time = 0.1
hook_method = "boys_ball_game"
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Ground/DeployLayer/Ambush三男孩"]
show_behind_parent = true
sprite_frames = ExtResource("14_och2w")
animation = &"f3"
autoplay = "f3"
frame = 6
frame_progress = 0.121203
[node name="Closeup弹珠游戏" parent="Ground/DeployLayer" index="10" instance=ExtResource("11_owxx3")]
position = Vector2(136, -319)
packed_scene = ExtResource("12_intre")
[node name="Closeup水盆" parent="Ground/DeployLayer" index="11" instance=ExtResource("11_owxx3")]
position = Vector2(289, 16)
packed_scene = ExtResource("16_p6da7")
[node name="c02_final" type="Node2D" parent="Ground/DeployLayer" index="12"]
visible = false
[node name="瞎子" parent="Ground/DeployLayer/c02_final" instance=ExtResource("10_p6da7")]
position = Vector2(277, 29)
sprite_frames = ExtResource("15_k01ve")
animation = &"方瞎子走路-右"
move_configs = Array[Dictionary]([{
"animation": "方瞎子走路-右",
"animation_next": "方瞎子呼吸-右",
"duration": 1e+07,
"movement_x": 300.0,
"velocity": Vector2(50, 0)
}])
debug_mov_animation = "方瞎子走路-右"
[node name="胖子" parent="Ground/DeployLayer/c02_final" instance=ExtResource("10_p6da7")]
position = Vector2(233, 33)
sprite_frames = ExtResource("15_k01ve")
animation = &"胖子走路"
autostart = false
move_configs = Array[Dictionary]([{
"animation": "胖子走路",
"animation_next": "胖子呼吸",
"duration": 1e+07,
"movement_x": 300.0,
"velocity": Vector2(60, 0)
}])
debug_mov_animation = "胖子走路"
[node name="小蝉" type="AnimatedSprite2D" parent="Ground/DeployLayer/c02_final"]
position = Vector2(585, 82)
sprite_frames = ExtResource("15_k01ve")
animation = &"小蝉"
autoplay = "小蝉"
[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/c02_final"]
position = Vector2(617, -13)
color = Color(0.982183, 0.783422, 0.692686, 1)
energy = 0.0
texture = SubResource("GradientTexture2D_p6da7")
[node name="MainPlayer" parent="Ground" index="4"]
position = Vector2(41, 98)
catty_light_energy = 0.5
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(0, -5)
scale = Vector2(1.1, 1.1)
texture = ExtResource("5_26mqt")
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(37, 150, 900, 150)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.9
blend_mode = 1
[editable path="Ground"]