293 lines
11 KiB
Plaintext
293 lines
11 KiB
Plaintext
[gd_scene load_steps=28 format=3 uid="uid://ds2iyfndwamiy"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_2vqpo"]
|
|
[ext_resource type="Script" uid="uid://1bq3lbv6of1v" path="res://scene/ground/scene/c01/s07_书店外.gd" id="2_dhaq4"]
|
|
[ext_resource type="Texture2D" uid="uid://bbuskt4kwkwpl" path="res://asset/art/scene/c01/s07_书店外/bg_书店外_黄昏.png" id="3_l7171"]
|
|
[ext_resource type="AudioStream" uid="uid://cxwvfeuq4o71o" path="res://asset/audio/sfx/环境音/序章/03_书店外黄昏.wav" id="3_na2nu"]
|
|
[ext_resource type="Texture2D" uid="uid://dklacql2hdtwv" path="res://asset/art/scene/c01/s07_书店外/e_装饰 书店外黄昏.png" id="4_8do8y"]
|
|
[ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog_shader.tscn" id="4_62isb"]
|
|
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_c7jb6"]
|
|
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_ulvsd"]
|
|
[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="5_3pha1"]
|
|
[ext_resource type="AudioStream" uid="uid://bdnqngprqadud" path="res://asset/audio/sfx/交互/序章/03_书店外黄昏_报童.wav" id="5_7sdrt"]
|
|
[ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="5_ers28"]
|
|
[ext_resource type="PackedScene" uid="uid://0sofmhrl358m" path="res://scene/entity/npc.tscn" id="6_fw22n"]
|
|
[ext_resource type="AudioStream" uid="uid://b6q8n2h7nlig3" path="res://asset/audio/sfx/交互/序章/03_书店外黄昏_敲门.wav" id="6_hwht7"]
|
|
[ext_resource type="SpriteFrames" uid="uid://cvkuw35ulebme" path="res://asset/art/gif/c01_书店外街道/c01_书店外街道_frames.tres" id="6_thm8f"]
|
|
[ext_resource type="AudioStream" uid="uid://ehgd455wq8to" path="res://asset/audio/sfx/交互/序章/03_书店外黄昏_开门.wav" id="8_sqlmr"]
|
|
[ext_resource type="Texture2D" uid="uid://dol25yn3fixim" path="res://asset/art/fog_mask.png" id="9_amurr"]
|
|
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="9_f61dl"]
|
|
[ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="9_slaub"]
|
|
[ext_resource type="Texture2D" uid="uid://cxi0n7ra3blhr" path="res://asset/art/scene/c01/s07_书店外/书店外街道黄昏参考.png" id="12_vjih6"]
|
|
[ext_resource type="AudioStream" uid="uid://dwvpevfbtqbm1" path="res://asset/audio/sfx/环境音/序章/03_书店外黄昏_舞刀声音.wav" id="14_c7jb6"]
|
|
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="19_sqlmr"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_amurr"]
|
|
atlas = ExtResource("3_l7171")
|
|
region = Rect2(439.687, 0, 2270.31, 317)
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_jw18h"]
|
|
noise_type = 2
|
|
fractal_type = 2
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_rdmp5"]
|
|
width = 2000
|
|
height = 400
|
|
seamless = true
|
|
seamless_blend_skirt = 0.25
|
|
noise = SubResource("FastNoiseLite_jw18h")
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_amurr"]
|
|
resource_local_to_scene = true
|
|
shader = ExtResource("5_ers28")
|
|
shader_parameter/noise = SubResource("NoiseTexture2D_rdmp5")
|
|
shader_parameter/grey_level = 0.6
|
|
shader_parameter/speed = 0.5
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_hwht7"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_amurr")
|
|
}],
|
|
"loop": false,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_na2nu"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(30, 130)
|
|
|
|
[node name="S07" type="Node2D"]
|
|
|
|
[node name="Ground" parent="." instance=ExtResource("1_2vqpo")]
|
|
scene_name = "c01_s07"
|
|
player_y = 55
|
|
|
|
[node name="AnimationPlayer" parent="Ground" index="0"]
|
|
script = ExtResource("2_dhaq4")
|
|
|
|
[node name="环境音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
|
|
stream = ExtResource("3_na2nu")
|
|
volume_db = -4.0
|
|
autoplay = true
|
|
bus = &"game_sfx"
|
|
script = ExtResource("4_c7jb6")
|
|
mode = "场景背景音"
|
|
"自动开始" = true
|
|
"循环播放" = true
|
|
"感应玩家操作" = false
|
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
|
|
|
[node name="报童音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
|
|
stream = ExtResource("5_7sdrt")
|
|
volume_db = -5.0
|
|
bus = &"game_sfx"
|
|
script = ExtResource("4_c7jb6")
|
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
|
|
|
[node name="敲门音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
|
|
stream = ExtResource("6_hwht7")
|
|
volume_db = -2.0
|
|
bus = &"game_sfx"
|
|
script = ExtResource("4_c7jb6")
|
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
|
|
|
[node name="开门音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="3"]
|
|
stream = ExtResource("8_sqlmr")
|
|
volume_db = -4.0
|
|
bus = &"game_sfx"
|
|
script = ExtResource("4_c7jb6")
|
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
|
|
|
[node name="BGSprite2D" parent="Ground" index="2"]
|
|
texture = SubResource("AtlasTexture_amurr")
|
|
offset = Vector2(0, -158)
|
|
|
|
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
|
|
position = Vector2(45, 33)
|
|
target_scene = "c01_s08"
|
|
|
|
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
|
|
position = Vector2(2233, 13)
|
|
target_scene = "c01_s08"
|
|
|
|
[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("4_ulvsd")]
|
|
position = Vector2(94, 56)
|
|
debug_note = "传送来的位置"
|
|
portal_name = "1"
|
|
|
|
[node name="Fog" parent="Ground/DeployLayer/portal_1" instance=ExtResource("4_62isb")]
|
|
z_index = 10
|
|
material = SubResource("ShaderMaterial_amurr")
|
|
position = Vector2(9, -93)
|
|
sprite_frames = SubResource("SpriteFrames_hwht7")
|
|
animation = &"default"
|
|
frame = 0
|
|
|
|
[node name="portal_2" parent="Ground/DeployLayer" index="3" instance=ExtResource("4_ulvsd")]
|
|
position = Vector2(1728, 33)
|
|
debug_note = "c01_s07 的 2 号门通往书店"
|
|
portal_name = "2"
|
|
target_scene = "c01_s08"
|
|
target_portal = "left"
|
|
status = "opened"
|
|
holding = true
|
|
holding_reason_key = "c01_s07_需要报纸"
|
|
|
|
[node name="SfxDefault" parent="Ground/DeployLayer/portal_2" index="0"]
|
|
volume_db = -2.0
|
|
|
|
[node name="Sign" parent="Ground/DeployLayer/portal_2" index="4"]
|
|
enabled = true
|
|
|
|
[node name="TextureContainer" parent="Ground/DeployLayer/portal_2/Sign" index="0"]
|
|
offset_top = -50.0
|
|
offset_bottom = -50.0
|
|
|
|
[node name="CollisionShape2D" parent="Ground/DeployLayer/portal_2/Area2D" index="0"]
|
|
shape = SubResource("RectangleShape2D_na2nu")
|
|
|
|
[node name="SignSnapper" parent="Ground/DeployLayer/portal_2" index="7"]
|
|
action_on_arrived = 4
|
|
|
|
[node name="背景" type="Sprite2D" parent="Ground/DeployLayer" index="4"]
|
|
position = Vector2(1084, 5.5)
|
|
texture = ExtResource("4_8do8y")
|
|
|
|
[node name="Npc推箱子小孩" parent="Ground/DeployLayer" index="5" instance=ExtResource("6_fw22n")]
|
|
visible = false
|
|
position = Vector2(1026, 6)
|
|
sprite_frames = ExtResource("6_thm8f")
|
|
animation = &"杂戏团黄昏-推箱子小孩"
|
|
autoplay = "杂戏团黄昏-推箱子小孩"
|
|
frame_progress = 0.252889
|
|
|
|
[node name="Ambush陆仁收刀" parent="Ground/DeployLayer" index="6" instance=ExtResource("9_f61dl")]
|
|
position = Vector2(926, 64)
|
|
hook_method = "holdback_knife"
|
|
|
|
[node name="陆仁舞刀" parent="Ground/DeployLayer" index="7" instance=ExtResource("9_slaub")]
|
|
position = Vector2(1045, 6)
|
|
sprite_frames = ExtResource("6_thm8f")
|
|
animation = &"陆仁舞刀-黄昏带红缨"
|
|
autoplay = "陆仁舞刀-黄昏带红缨"
|
|
frame = 42
|
|
action_configs = Array[Dictionary]([{
|
|
"animation_intro": "陆仁收刀",
|
|
&"animation_next": "陆仁收刀后呼吸",
|
|
"animation_wait_time": 0.0,
|
|
"intro_loop": 1
|
|
}])
|
|
|
|
[node name="Sfx2D" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/陆仁舞刀"]
|
|
stream = ExtResource("14_c7jb6")
|
|
volume_db = -2.0
|
|
autoplay = true
|
|
max_distance = 500.0
|
|
bus = &"game_sfx"
|
|
script = ExtResource("19_sqlmr")
|
|
loop = true
|
|
metadata/_custom_type_script = "uid://wapo47a1oddf"
|
|
|
|
[node name="Npc吉祥话4" parent="Ground/DeployLayer/陆仁舞刀" instance=ExtResource("6_fw22n")]
|
|
position = Vector2(-14, 51)
|
|
enabled = false
|
|
speaking_sign_height = 47.0
|
|
dialogue_title = "c01_s07_陆仁吉祥话"
|
|
|
|
[node name="其余小孩" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="8"]
|
|
position = Vector2(1160, 7)
|
|
sprite_frames = ExtResource("6_thm8f")
|
|
animation = &"杂戏团黄昏-其余小孩"
|
|
autoplay = "杂戏团黄昏-其余小孩"
|
|
|
|
[node name="Ambush监督小孩" parent="Ground/DeployLayer/其余小孩" instance=ExtResource("9_f61dl")]
|
|
position = Vector2(-688, 53)
|
|
cooldown_time = 0.1
|
|
lock_player_on_playing_dialogue = false
|
|
hook_dialogue_title = "c01_s07_监督小孩吉祥话"
|
|
|
|
[node name="Npc吉祥话1" parent="Ground/DeployLayer/其余小孩" instance=ExtResource("6_fw22n")]
|
|
position = Vector2(-44, 78)
|
|
sign_mark_height = 23.0
|
|
speaking_sign_height = 56.0
|
|
dialogue_title = "c01_s07_小孩吉祥话1"
|
|
|
|
[node name="Npc吉祥话2" parent="Ground/DeployLayer/其余小孩" instance=ExtResource("6_fw22n")]
|
|
position = Vector2(23, 78)
|
|
sign_mark_height = 23.0
|
|
speaking_sign_height = 58.0
|
|
dialogue_title = "c01_s07_小孩吉祥话2"
|
|
|
|
[node name="Npc吉祥话3" parent="Ground/DeployLayer/其余小孩" instance=ExtResource("6_fw22n")]
|
|
position = Vector2(80, 59)
|
|
sign_mark_height = 11.0
|
|
speaking_sign_height = 54.0
|
|
dialogue_title = "c01_s07_小孩吉祥话3"
|
|
|
|
[node name="举碗小孩" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="9"]
|
|
position = Vector2(1297, 7)
|
|
sprite_frames = ExtResource("6_thm8f")
|
|
animation = &"杂戏团黄昏_举碗小孩"
|
|
autoplay = "杂戏团黄昏_举碗小孩"
|
|
|
|
[node name="Note钱碗" parent="Ground/DeployLayer/举碗小孩" instance=ExtResource("5_3pha1")]
|
|
position = Vector2(6, 57)
|
|
note_key = "c01_s07_钱碗"
|
|
|
|
[node name="报童" parent="Ground/DeployLayer" index="10" instance=ExtResource("9_slaub")]
|
|
position = Vector2(2080, 6)
|
|
sprite_frames = ExtResource("6_thm8f")
|
|
animation = &"报童待机"
|
|
autoplay = "报童待机"
|
|
frame = 1
|
|
action_configs = Array[Dictionary]([{
|
|
"animation_intro": "报童给报纸",
|
|
"animation_next": "报童待机",
|
|
"animation_wait_time": 0.0,
|
|
"intro_loop": 1
|
|
}])
|
|
|
|
[node name="Ambush报童" parent="Ground/DeployLayer/报童" instance=ExtResource("9_f61dl")]
|
|
position = Vector2(-11, 53)
|
|
trigger_mode = "interact"
|
|
cooldown_time = 1.0
|
|
hook_method = "seller_interacted"
|
|
|
|
[node name="Note橱柜" parent="Ground/DeployLayer" index="11" instance=ExtResource("5_3pha1")]
|
|
position = Vector2(1681, 32)
|
|
action = 5
|
|
note_key = "c01_s07_书店展柜"
|
|
|
|
[node name="MainPlayer" parent="Ground" index="5"]
|
|
position = Vector2(41, 103)
|
|
character = "小小蝶"
|
|
player_movement_rect = Rect2(37, -158, 2203, 316)
|
|
|
|
[node name="CameraFocusMarker" parent="Ground" index="6"]
|
|
limit_left = 0
|
|
limit_top = -158
|
|
limit_right = 2270
|
|
limit_bottom = 158
|
|
|
|
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
|
|
points = PackedVector2Array(37, 150, 2240, 150)
|
|
|
|
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
|
energy = 0.0
|
|
blend_mode = 1
|
|
|
|
[node name="参考" type="Sprite2D" parent="."]
|
|
visible = false
|
|
modulate = Color(1, 1, 1, 0.447059)
|
|
position = Vector2(0, 1)
|
|
texture = ExtResource("12_vjih6")
|
|
centered = false
|
|
offset = Vector2(0, -159)
|
|
|
|
[editable path="Ground"]
|
|
[editable path="Ground/DeployLayer/portal_2"]
|
|
[editable path="Ground/DeployLayer/portal_2/Sign"]
|