[gd_scene load_steps=34 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://c56j5qma3s8bu" path="res://asset/art/little_game/八音盒/新版贴图/八音盒底.png" id="4_frik0"] [ext_resource type="Texture2D" uid="uid://cik6ro8nowsd3" path="res://asset/art/little_game/八音盒/插销动画/插销-2.png" id="4_ubbcw"] [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="Texture2D" uid="uid://oe61u43dmtd2" path="res://asset/art/little_game/八音盒/插销动画/插销-5.png" id="7_4e3ey"] [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="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"] [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="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="Gradient" id="Gradient_50eha"] interpolation_mode = 2 interpolation_color_space = 1 offsets = PackedFloat32Array(0, 0.177305, 0.43617, 0.684397, 0.989362) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0.294118, 1.01176, 1.01176, 1.01176, 0.12549, 1, 1, 1, 0.00520623, 1, 1, 1, 0) [sub_resource type="GradientTexture2D" id="GradientTexture2D_h88gi"] gradient = SubResource("Gradient_50eha") width = 512 height = 512 use_hdr = true fill = 1 fill_from = Vector2(0.5, 0.5) fill_to = Vector2(1, 1) [sub_resource type="RectangleShape2D" id="RectangleShape2D_50eha"] resource_local_to_scene = true size = Vector2(20, 60) [sub_resource type="RectangleShape2D" id="RectangleShape2D_h88gi"] resource_local_to_scene = true size = Vector2(20, 60) [sub_resource type="RectangleShape2D" id="RectangleShape2D_8vbnc"] resource_local_to_scene = true size = Vector2(20, 60) [sub_resource type="RectangleShape2D" id="RectangleShape2D_858bj"] resource_local_to_scene = true size = Vector2(20, 60) [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_gm7pw"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8vbnc"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_858bj"] [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="MusicPlayer2D" type="AudioStreamPlayer" parent="."] stream = ExtResource("19_7mlnq") bus = &"game_sfx" [node name="Wheel" parent="." 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="."] show_behind_parent = true position = Vector2(-26, 38) sprite_frames = SubResource("SpriteFrames_t7gu7") frame = 8 centered = false [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(282, 158) sprite_frames = ExtResource("16_50eha") animation = &"暗格抽屉动画" [node name="PointLight2D2" type="PointLight2D" parent="AnimatedSprite2D"] position = Vector2(0, -52) range_item_cull_mask = 21 texture = SubResource("GradientTexture2D_h88gi") height = 10.0 [node name="Box" type="Sprite2D" parent="."] position = Vector2(-68.5, 38) texture = ExtResource("4_frik0") centered = false [node name="Panel" type="Node2D" parent="."] y_sort_enabled = true script = ExtResource("16_8vbnc") [node name="Draggable2D1" parent="Panel" instance=ExtResource("16_h88gi")] position = Vector2(185, 183) collision_shape = SubResource("RectangleShape2D_50eha") sprite_offset = Vector2(3, -35) texture = ExtResource("17_gm7pw") limit_rect = Rect2(150, 150, 220, 70) [node name="CollisionShape2D" type="CollisionShape2D" parent="Panel/Draggable2D1"] position = Vector2(0, -32) shape = SubResource("RectangleShape2D_50eha") [node name="Draggable2D2" parent="Panel" instance=ExtResource("16_h88gi")] position = Vector2(225, 182) collision_shape = SubResource("RectangleShape2D_h88gi") sprite_offset = Vector2(0, -34) texture = ExtResource("18_8vbnc") limit_rect = Rect2(150, 150, 220, 70) [node name="CollisionShape2D" type="CollisionShape2D" parent="Panel/Draggable2D2"] position = Vector2(-1, -32) shape = SubResource("RectangleShape2D_h88gi") [node name="Draggable2D3" parent="Panel" instance=ExtResource("16_h88gi")] position = Vector2(252, 182) collision_shape = SubResource("RectangleShape2D_8vbnc") sprite_offset = Vector2(-4, -23) limit_rect = Rect2(150, 150, 220, 70) [node name="CollisionShape2D" type="CollisionShape2D" parent="Panel/Draggable2D3"] position = Vector2(1, -22) shape = SubResource("RectangleShape2D_8vbnc") [node name="Draggable2D4" parent="Panel" instance=ExtResource("16_h88gi")] position = Vector2(293, 182) collision_shape = SubResource("RectangleShape2D_858bj") sprite_offset = Vector2(1, -23) texture = ExtResource("19_858bj") limit_rect = Rect2(150, 150, 220, 70) [node name="CollisionShape2D" type="CollisionShape2D" parent="Panel/Draggable2D4"] position = Vector2(-1, -23) shape = SubResource("RectangleShape2D_858bj") [node name="Button1" type="Button" parent="Panel"] custom_minimum_size = Vector2(20, 20) offset_left = 205.0 offset_top = 171.0 offset_right = 225.0 offset_bottom = 191.0 focus_mode = 0 theme_override_styles/hover = SubResource("StyleBoxEmpty_gm7pw") theme_override_styles/pressed = SubResource("StyleBoxEmpty_8vbnc") theme_override_styles/normal = SubResource("StyleBoxEmpty_858bj") [node name="Button2" type="Button" parent="Panel"] custom_minimum_size = Vector2(20, 20) offset_left = 243.0 offset_top = 172.0 offset_right = 263.0 offset_bottom = 192.0 focus_mode = 0 theme_override_styles/hover = SubResource("StyleBoxEmpty_gm7pw") theme_override_styles/pressed = SubResource("StyleBoxEmpty_8vbnc") theme_override_styles/normal = SubResource("StyleBoxEmpty_858bj") [node name="Button3" type="Button" parent="Panel"] custom_minimum_size = Vector2(20, 20) offset_left = 281.0 offset_top = 171.0 offset_right = 301.0 offset_bottom = 191.0 focus_mode = 0 theme_override_styles/hover = SubResource("StyleBoxEmpty_gm7pw") theme_override_styles/pressed = SubResource("StyleBoxEmpty_8vbnc") theme_override_styles/normal = SubResource("StyleBoxEmpty_858bj") [node name="Button4" type="Button" parent="Panel"] custom_minimum_size = Vector2(20, 20) offset_left = 327.0 offset_top = 171.0 offset_right = 347.0 offset_bottom = 191.0 focus_mode = 0 theme_override_styles/hover = SubResource("StyleBoxEmpty_gm7pw") theme_override_styles/pressed = SubResource("StyleBoxEmpty_8vbnc") theme_override_styles/normal = SubResource("StyleBoxEmpty_858bj")