xiandie/scene/ground/scene/c01/s08_书店.tscn
2025-06-16 12:43:09 +08:00

220 lines
8.2 KiB
Plaintext

[gd_scene load_steps=22 format=3 uid="uid://cwu4dhayra8pg"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_b3cca"]
[ext_resource type="Script" uid="uid://6q2pfbqsw10t" path="res://scene/ground/scene/c01/s08_animation.gd" id="2_0lque"]
[ext_resource type="AudioStream" uid="uid://d31pxjnnvqdpn" path="res://asset/audio/sfx/环境音/序章/04_书店内.wav" id="3_0x288"]
[ext_resource type="Texture2D" uid="uid://coo8sw8yigii6" path="res://asset/art/scene/c01/s08_书店/bg_书店.png" id="3_322m4"]
[ext_resource type="AudioStream" uid="uid://bnjyw5v85s6qe" path="res://asset/audio/sfx/交互/序章/04_书店内_主角摔倒.wav" id="3_b6wsl"]
[ext_resource type="AudioStream" uid="uid://vygcjwgo1j4a" path="res://asset/audio/sfx/环境音/序章/04_书店内_奶奶写字.wav" id="4_5j1ov"]
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="4_c4lg5"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/general/sfx.gd" id="4_p6k3c"]
[ext_resource type="AudioStream" uid="uid://bfcamfnhqjrnp" path="res://asset/audio/sfx/环境音/序章/05_诡异通用.wav" id="5_eerhd"]
[ext_resource type="Texture2D" uid="uid://cqy0qfmko00rx" path="res://asset/art/scene/c01/s08_书店/e_梯子.png" id="5_tnrke"]
[ext_resource type="PackedScene" uid="uid://nwpbl5yuh280" path="res://scene/ground/script/c01/s00_自动跟随的老鼠.tscn" id="6_05do1"]
[ext_resource type="Texture2D" uid="uid://c3ii6vsja0645" path="res://asset/art/scene/c01/s08_书店/书店参考.png" id="6_l2q02"]
[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="7_fue0t"]
[ext_resource type="SpriteFrames" uid="uid://bmwm400w8r4ju" path="res://asset/art/gif/c01_书店/frames.tres" id="8_hunwx"]
[ext_resource type="Texture2D" uid="uid://bho8xal4ha50l" path="res://asset/art/scene/c01/s08_书店/l_打光.png" id="9_i4dqp"]
[ext_resource type="AudioStream" uid="uid://cniawn37n8888" path="res://asset/audio/sfx/交互/序章/04_书店内_递交报纸.wav" id="9_lfr41"]
[ext_resource type="Texture2D" uid="uid://bp4y3vujvsl7r" path="res://asset/art/scene/c01/s08_书店/fg_前景.png" id="10_4e3a1"]
[sub_resource type="Animation" id="Animation_5koky"]
resource_name = "one_shot"
tracks/0/type = "method"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimationPlayer")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"first_enter_door"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_xqgjo"]
_data = {
&"one_shot": SubResource("Animation_5koky")
}
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ddd5v"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0x288"]
resource_local_to_scene = true
size = Vector2(10, 70)
[node name="S08" type="Node2D"]
position = Vector2(1, 0)
[node name="Ground" parent="." instance=ExtResource("1_b3cca")]
scene_name = "c01_s08"
player_y = 60
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_xqgjo")
}
script = ExtResource("2_0lque")
oneshot_animation = "one_shot"
[node name="环境音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_0x288")
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_p6k3c")
mode = "场景背景音"
"自动开始" = null
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="诡异环境音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
stream = ExtResource("5_eerhd")
bus = &"game_sfx"
script = ExtResource("4_p6k3c")
mode = "场景背景音"
"自动开始" = null
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="写字声[未启用]" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
stream = ExtResource("4_5j1ov")
bus = &"game_sfx"
script = ExtResource("4_p6k3c")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="摔倒音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="3"]
stream = ExtResource("3_b6wsl")
volume_db = -15.0
bus = &"game_sfx"
script = ExtResource("4_p6k3c")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="放报纸音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="4"]
stream = ExtResource("9_lfr41")
bus = &"game_sfx"
script = ExtResource("4_p6k3c")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="1"]
material = SubResource("ShaderMaterial_ddd5v")
texture = ExtResource("3_322m4")
offset = Vector2(0, -158)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(35, 28)
debug_note = "c01_s07 的 2 号门通往书店
"
target_scene = "c01_s12"
target_portal = "2"
holding = true
holding_reason_key = "c01_s08_书店工作"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(593, 20)
target_scene = "c01_s07"
[node name="Ambush梯子" parent="Ground/DeployLayer" index="2" instance=ExtResource("4_c4lg5")]
position = Vector2(431, 18)
texture = ExtResource("5_tnrke")
trigger_mode = "interact"
one_shot = false
freeze_time = 1.0
hook_method = "play_shelf_game"
[node name="Interactable信件书桌" parent="Ground/DeployLayer" index="3" instance=ExtResource("7_fue0t")]
position = Vector2(227, 55)
one_shot = false
disable_prop_after_interacted = true
prop_key = "prop_信碎片1"
prop_key2 = "prop_信碎片2"
[node name="Mask" type="ColorRect" parent="Ground/DeployLayer" index="4"]
z_index = 10
custom_minimum_size = Vector2(700, 350)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -53.0
offset_top = -174.0
offset_right = 647.0
offset_bottom = 176.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 0)
[node name="自动跟随的老鼠" parent="Ground/DeployLayer" index="5" instance=ExtResource("6_05do1")]
position = Vector2(-8, 88)
action_area = Vector2(600, 32)
scatter_on_start = true
[node name="Interactable报纸柜台" parent="Ground/DeployLayer" index="6" instance=ExtResource("7_fue0t")]
position = Vector2(135, 49)
[node name="SfxSuccess" parent="Ground/DeployLayer/Interactable报纸柜台" index="1"]
stream = null
[node name="CollisionShape2D" parent="Ground/DeployLayer/Interactable报纸柜台/Area2D" index="0"]
shape = SubResource("RectangleShape2D_0x288")
[node name="Ambush银元" parent="Ground/DeployLayer" index="7" instance=ExtResource("4_c4lg5")]
position = Vector2(537, 21)
enabled = false
trigger_mode = "interact"
freeze_time = 1.0
hook_method = "pay_off_wage"
[node name="老板" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="8"]
position = Vector2(151, -2)
sprite_frames = ExtResource("8_hunwx")
animation = &"老板写字"
autoplay = "老板写字"
frame = 3
frame_progress = 0.119486
[node name="小小蝶坠落" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="9"]
visible = false
position = Vector2(427, 1)
sprite_frames = ExtResource("8_hunwx")
animation = &"小小蝶坠落"
[node name="PointLight2D" type="PointLight2D" parent="Ground/AmbientLayer" index="0"]
position = Vector2(-148, 39)
color = Color(0.993775, 0.83578, 0.525594, 1)
energy = 0.4
texture = ExtResource("9_i4dqp")
offset = Vector2(317, 0)
[node name="MainPlayer" parent="Ground" index="4"]
position = Vector2(437, 98)
character = "小小蝶"
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(-1, 22)
texture = ExtResource("10_4e3a1")
offset = Vector2(0, 40)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(30, 150, 545, 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.580392)
position = Vector2(20, 0)
texture = ExtResource("6_l2q02")
centered = false
offset = Vector2(0, -158)
[editable path="Ground"]
[editable path="Ground/DeployLayer/Interactable报纸柜台"]
[editable path="Ground/DeployLayer/Interactable报纸柜台/Sign"]