377 lines
14 KiB
Plaintext
377 lines
14 KiB
Plaintext
[gd_scene load_steps=51 format=3 uid="uid://beleib3mmu0af"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://2xbl572hv2qf" path="res://asset/art/little_game/八音盒/背景.png" id="1_j0wst"]
|
|
[ext_resource type="Script" uid="uid://bian8ga7cet8k" path="res://scene/little_game/八音盒/八音盒.gd" id="2_opptd"]
|
|
[ext_resource type="Texture2D" uid="uid://daxg4b7lu1ep6" path="res://asset/art/little_game/八音盒/插销动画/插销-1.png" id="3_etora"]
|
|
[ext_resource type="Texture2D" uid="uid://cik6ro8nowsd3" path="res://asset/art/little_game/八音盒/插销动画/插销-2.png" id="4_ubbcw"]
|
|
[ext_resource type="AudioStream" uid="uid://duxo1jopqqf0q" path="res://asset/audio/sfx/交互/序章/04_书店内_移动书本.wav" id="4_ytjup"]
|
|
[ext_resource type="Shader" uid="uid://cgy5ujo5afab2" path="res://asset/shader/outline.gdshader" id="5_dtoml"]
|
|
[ext_resource type="AudioStream" uid="uid://gxoubqjqpuks" path="res://asset/audio/sfx/交互/序章/04_书店内_点击书本.wav" id="5_m5jrq"]
|
|
[ext_resource type="Texture2D" uid="uid://bslr2p2dgymxm" path="res://asset/art/little_game/八音盒/插销动画/插销-3.png" id="5_mxndl"]
|
|
[ext_resource type="Texture2D" uid="uid://bp8o30lfc7xrx" path="res://asset/art/little_game/八音盒/插销动画/插销-4.png" id="6_2lerk"]
|
|
[ext_resource type="AudioStream" uid="uid://5jk88e0cncy8" path="res://asset/audio/sfx/交互/序章/04_书店内_关门.wav" id="6_rdaqv"]
|
|
[ext_resource type="Texture2D" uid="uid://oe61u43dmtd2" path="res://asset/art/little_game/八音盒/插销动画/插销-5.png" id="7_4e3ey"]
|
|
[ext_resource type="AudioStream" uid="uid://ehgd455wq8to" path="res://asset/audio/sfx/交互/序章/03_书店外黄昏_开门.wav" id="7_rriyt"]
|
|
[ext_resource type="Texture2D" uid="uid://c76aw8sjvkj5y" path="res://asset/art/little_game/八音盒/插销动画/插销-6.png" id="8_5yute"]
|
|
[ext_resource type="Texture2D" uid="uid://dxt5sf8eucx8q" path="res://asset/art/little_game/八音盒/插销动画/插销-7.png" id="9_hwyly"]
|
|
[ext_resource type="Texture2D" uid="uid://cxdsucu5wi464" path="res://asset/art/little_game/八音盒/插销动画/插销-8.png" id="10_j5b7e"]
|
|
[ext_resource type="Texture2D" uid="uid://d0mw5ohdf5ncj" path="res://asset/art/little_game/八音盒/插销动画/插销-9.png" id="11_rg33s"]
|
|
[ext_resource type="PackedScene" uid="uid://dry6mhv6x0ppl" path="res://scene/little_game/gadget/wheel.tscn" id="15_obian"]
|
|
[ext_resource type="Script" uid="uid://3p40cd3bp3ta" path="res://scene/little_game/八音盒/panel.gd" id="16_8vbnc"]
|
|
[ext_resource type="SpriteFrames" uid="uid://drst7gokusjgi" path="res://asset/art/gif/c02_八音盒/frames.tres" id="16_50eha"]
|
|
[ext_resource type="Texture2D" uid="uid://dthnevvjj3i5f" path="res://asset/art/little_game/八音盒/新版贴图/八音盒打开.png" id="16_dtoml"]
|
|
[ext_resource type="PackedScene" uid="uid://bg7oictr1wgex" path="res://scene/little_game/general/draggable.tscn" id="16_h88gi"]
|
|
[ext_resource type="Texture2D" uid="uid://bfa0eejoeg3oo" path="res://asset/art/little_game/八音盒/新版贴图/父亲玩偶.png" id="17_gm7pw"]
|
|
[ext_resource type="Texture2D" uid="uid://b7ok8s0h53lki" path="res://asset/art/little_game/八音盒/新版贴图/母亲玩偶.png" id="18_8vbnc"]
|
|
[ext_resource type="AudioStream" uid="uid://d2psmvwpo1v8q" path="res://asset/audio/sfx/game/八音盒/操纵八音盒.mp3" id="19_7mlnq"]
|
|
[ext_resource type="Texture2D" uid="uid://dv0t0571mhyae" path="res://asset/art/little_game/八音盒/新版贴图/小小蝶玩偶.png" id="19_858bj"]
|
|
[ext_resource type="Texture2D" uid="uid://30r70n8pmtqw" path="res://asset/art/little_game/八音盒/新版贴图/照片贴纸.png" id="19_cbhp3"]
|
|
[ext_resource type="Texture2D" uid="uid://dhkk7rn4abcq4" path="res://asset/art/little_game/八音盒/新版贴图/八音盒_关闭.png" id="22_rdaqv"]
|
|
[ext_resource type="Texture2D" uid="uid://c12336ikmvq2q" path="res://asset/art/little_game/八音盒/新版贴图/八音盒底碎裂.png" id="24_rriyt"]
|
|
[ext_resource type="Texture2D" uid="uid://b3f37ak7b0o5h" path="res://asset/art/little_game/八音盒/新版贴图/八音盒抽屉盖.png" id="28_b3w8p"]
|
|
[ext_resource type="Texture2D" uid="uid://dwcwc4epf2233" path="res://asset/art/little_game/八音盒/新版贴图/八音盒暗格背景.png" id="29_hder7"]
|
|
[ext_resource type="Texture2D" uid="uid://063cubb2b5in" path="res://asset/art/prop/c02/弹珠.png" id="30_b3w8p"]
|
|
[ext_resource type="Texture2D" uid="uid://lk4warbvclhr" path="res://asset/art/prop/c02/新小猫身体.png" id="31_hder7"]
|
|
[ext_resource type="Texture2D" uid="uid://cdsq0ylmgtfq0" path="res://asset/art/prop/c02/小蝉人偶.png" id="32_tgpfj"]
|
|
|
|
[sub_resource type="Animation" id="Animation_j1llk"]
|
|
length = 0.001
|
|
|
|
[sub_resource type="Animation" id="Animation_j415e"]
|
|
resource_name = "handle_animation"
|
|
length = 0.5
|
|
tracks/0/type = "method"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0.333333),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"_checkout_playing"
|
|
}]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8b6h5"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_j1llk"),
|
|
&"handle_animation": SubResource("Animation_j415e")
|
|
}
|
|
|
|
[sub_resource type="Gradient" id="Gradient_cbhp3"]
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_28n4a"]
|
|
gradient = SubResource("Gradient_cbhp3")
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ljgfp"]
|
|
shader = ExtResource("5_dtoml")
|
|
shader_parameter/color = SubResource("GradientTexture1D_28n4a")
|
|
shader_parameter/alpha_ratio = 1.0
|
|
shader_parameter/gradientResolution = 10
|
|
shader_parameter/thickness = 1.0
|
|
shader_parameter/tolerance = 0.0
|
|
shader_parameter/diagonals = true
|
|
shader_parameter/rounded = true
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_t7gu7"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_etora")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_ubbcw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_mxndl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_2lerk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_4e3ey")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_5yute")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_hwyly")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_j5b7e")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("11_rg33s")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b3w8p"]
|
|
size = Vector2(310, 170)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_28n4a"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(20, 95)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5r85q"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(20, 90)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ytjup"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(20, 60)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7s35x"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(20, 60)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_cbhp3"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(290, 60)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_04cdl"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(50, 70)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_wq2wm"]
|
|
radius = 20.0
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sg8mt"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(50, 30)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0kog4"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(30, 70)
|
|
|
|
[node name="八音盒" type="CanvasLayer"]
|
|
layer = 5
|
|
script = ExtResource("2_opptd")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_8b6h5")
|
|
}
|
|
|
|
[node name="BG" type="Sprite2D" parent="."]
|
|
position = Vector2(-26, 26)
|
|
scale = Vector2(1.1, 1.1)
|
|
texture = ExtResource("1_j0wst")
|
|
centered = false
|
|
|
|
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("19_7mlnq")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="Picked" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("4_ytjup")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="Dropped" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("4_ytjup")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="Plugged" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("5_m5jrq")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="PluggedFinish" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("6_rdaqv")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="OpenLid" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("6_rdaqv")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="CloseLid" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("6_rdaqv")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="OpenDrawer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("7_rriyt")
|
|
bus = &"game_sfx"
|
|
|
|
[node name="All" type="Node2D" parent="."]
|
|
|
|
[node name="Wheel" parent="All" instance=ExtResource("15_obian")]
|
|
offset_left = 426.0
|
|
offset_top = 188.0
|
|
offset_right = 426.0
|
|
offset_bottom = 188.0
|
|
|
|
[node name="SideHandle" type="AnimatedSprite2D" parent="All"]
|
|
show_behind_parent = true
|
|
material = SubResource("ShaderMaterial_ljgfp")
|
|
position = Vector2(-6.5, 40)
|
|
sprite_frames = SubResource("SpriteFrames_t7gu7")
|
|
centered = false
|
|
|
|
[node name="ClosedBox" parent="All" instance=ExtResource("16_h88gi")]
|
|
visible = false
|
|
position = Vector2(277, 194.5)
|
|
act_as_button = true
|
|
item_name = "照片"
|
|
sprite_offset = Vector2(3, -35)
|
|
texture = ExtResource("22_rdaqv")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/ClosedBox"]
|
|
position = Vector2(15, 2.5)
|
|
shape = SubResource("RectangleShape2D_b3w8p")
|
|
|
|
[node name="OpenedBox" type="Sprite2D" parent="All"]
|
|
position = Vector2(-48, 38)
|
|
texture = ExtResource("16_dtoml")
|
|
centered = false
|
|
|
|
[node name="Panel" type="Node2D" parent="All/OpenedBox"]
|
|
y_sort_enabled = true
|
|
position = Vector2(68.5, -38)
|
|
script = ExtResource("16_8vbnc")
|
|
|
|
[node name="Draggable2D1" parent="All/OpenedBox/Panel" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(180, 196)
|
|
rotation = 1.11169
|
|
item_name = "父"
|
|
sprite_offset = Vector2(3, -35)
|
|
texture = ExtResource("17_gm7pw")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/OpenedBox/Panel/Draggable2D1"]
|
|
position = Vector2(-1, -36)
|
|
shape = SubResource("RectangleShape2D_28n4a")
|
|
|
|
[node name="Draggable2D2" parent="All/OpenedBox/Panel" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(286.5, 197)
|
|
rotation = 1.58777
|
|
item_name = "母"
|
|
sprite_offset = Vector2(1, -34)
|
|
texture = ExtResource("18_8vbnc")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/OpenedBox/Panel/Draggable2D2"]
|
|
position = Vector2(0, -34)
|
|
shape = SubResource("RectangleShape2D_5r85q")
|
|
|
|
[node name="Draggable2D3" parent="All/OpenedBox/Panel" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(354, 169)
|
|
rotation = -1.26607
|
|
item_name = "蝶"
|
|
sprite_offset = Vector2(1, -23)
|
|
texture = ExtResource("19_858bj")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/OpenedBox/Panel/Draggable2D3"]
|
|
position = Vector2(-1, -23)
|
|
shape = SubResource("RectangleShape2D_ytjup")
|
|
|
|
[node name="Draggable2D4" parent="All/OpenedBox/Panel" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(310, 173)
|
|
rotation = -1.14307
|
|
item_name = "蝉"
|
|
sprite_offset = Vector2(-4, -23)
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/OpenedBox/Panel/Draggable2D4"]
|
|
position = Vector2(1, -22)
|
|
shape = SubResource("RectangleShape2D_7s35x")
|
|
|
|
[node name="Marker2D1" type="Marker2D" parent="All/OpenedBox/Panel"]
|
|
position = Vector2(198, 178)
|
|
|
|
[node name="Marker2D2" type="Marker2D" parent="All/OpenedBox/Panel"]
|
|
position = Vector2(244, 177)
|
|
|
|
[node name="Marker2D3" type="Marker2D" parent="All/OpenedBox/Panel"]
|
|
position = Vector2(294, 177)
|
|
|
|
[node name="Marker2D4" type="Marker2D" parent="All/OpenedBox/Panel"]
|
|
position = Vector2(340, 178)
|
|
|
|
[node name="BrokenBox" type="Sprite2D" parent="All"]
|
|
visible = false
|
|
position = Vector2(-48, 38)
|
|
texture = ExtResource("24_rriyt")
|
|
centered = false
|
|
|
|
[node name="Draggable抽屉" parent="All/BrokenBox" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(350, 210)
|
|
act_as_button = true
|
|
texture = ExtResource("28_b3w8p")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/BrokenBox/Draggable抽屉"]
|
|
position = Vector2(-12, 8)
|
|
shape = SubResource("RectangleShape2D_cbhp3")
|
|
|
|
[node name="Draggable照片" parent="All" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(241, 71)
|
|
act_as_button = true
|
|
item_name = "prop_撕下的照片上"
|
|
texture = ExtResource("19_cbhp3")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/Draggable照片"]
|
|
position = Vector2(7, -2)
|
|
rotation = -0.234631
|
|
shape = SubResource("RectangleShape2D_04cdl")
|
|
|
|
[node name="Drawer" type="Node2D" parent="All"]
|
|
visible = false
|
|
position = Vector2(20.5, 0)
|
|
|
|
[node name="BoxDrawer" type="Sprite2D" parent="All/Drawer"]
|
|
position = Vector2(-26.5, -3)
|
|
texture = ExtResource("29_hder7")
|
|
centered = false
|
|
|
|
[node name="Draggable1" parent="All/Drawer" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(125.5, 132)
|
|
scale = Vector2(0.869345, 0.894156)
|
|
act_as_button = true
|
|
item_name = "prop_弹珠"
|
|
texture = ExtResource("30_b3w8p")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/Drawer/Draggable1"]
|
|
position = Vector2(-1.15028, -1.11837)
|
|
shape = SubResource("CircleShape2D_wq2wm")
|
|
|
|
[node name="Draggable2" parent="All/Drawer" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(230.5, 160)
|
|
rotation = -0.254158
|
|
scale = Vector2(3.5, 3.5)
|
|
act_as_button = true
|
|
item_name = "prop_无头小猫玩具"
|
|
texture = ExtResource("31_hder7")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/Drawer/Draggable2"]
|
|
position = Vector2(3.13613, 1.84788)
|
|
shape = SubResource("RectangleShape2D_sg8mt")
|
|
|
|
[node name="Draggable3" parent="All/Drawer" instance=ExtResource("16_h88gi")]
|
|
position = Vector2(362.5, 175)
|
|
rotation = 0.330288
|
|
scale = Vector2(1.5, 1.5)
|
|
act_as_button = true
|
|
item_name = "prop_木头人偶"
|
|
texture = ExtResource("32_tgpfj")
|
|
limit_rect = Rect2(150, 150, 220, 70)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="All/Drawer/Draggable3"]
|
|
position = Vector2(5.06722, 0.31792)
|
|
shape = SubResource("RectangleShape2D_0kog4")
|
|
|
|
[node name="BoxAnimation" type="AnimatedSprite2D" parent="All"]
|
|
visible = false
|
|
position = Vector2(302.5, 249)
|
|
sprite_frames = ExtResource("16_50eha")
|
|
animation = &"抽屉动画"
|