[gd_scene load_steps=22 format=3 uid="uid://beleib3mmu0af"] [ext_resource type="Texture2D" uid="uid://bmqpgfaibylvr" path="res://asset/art/little_game/八音盒/背景.png" id="1_j0wst"] [ext_resource type="Script" path="res://scene/little_game/八音盒.gd" id="2_opptd"] [ext_resource type="Texture2D" uid="uid://xpa12fu26xhm" path="res://asset/art/little_game/八音盒/插销动画/插销-1.png" id="3_etora"] [ext_resource type="Texture2D" uid="uid://nihbhjx0fogm" path="res://asset/art/little_game/八音盒/插销.png" id="4_a11wt"] [ext_resource type="Texture2D" uid="uid://dvae1ol414hau" path="res://asset/art/little_game/八音盒/插销动画/插销-2.png" id="4_ubbcw"] [ext_resource type="Texture2D" uid="uid://cew43x4qejyg" path="res://asset/art/little_game/八音盒/无按钮.png" id="4_vlbyt"] [ext_resource type="Texture2D" uid="uid://cihlmihergd2s" path="res://asset/art/little_game/八音盒/插销动画/插销-3.png" id="5_mxndl"] [ext_resource type="Texture2D" uid="uid://cduus4s80ide3" path="res://asset/art/little_game/八音盒/插销动画/插销-4.png" id="6_2lerk"] [ext_resource type="Texture2D" uid="uid://cohgm3l8hbgon" path="res://asset/art/little_game/八音盒/插销动画/插销-5.png" id="7_4e3ey"] [ext_resource type="Texture2D" uid="uid://bl2r54qsml7tq" path="res://asset/art/little_game/八音盒/插销动画/插销-6.png" id="8_5yute"] [ext_resource type="Texture2D" uid="uid://dl7goysg51v6b" path="res://asset/art/little_game/八音盒/插销动画/插销-7.png" id="9_hwyly"] [ext_resource type="Texture2D" uid="uid://dwwgy4pggu1tk" path="res://asset/art/little_game/八音盒/插销动画/插销-8.png" id="10_j5b7e"] [ext_resource type="Texture2D" uid="uid://cyud47ley8nvw" 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="FontFile" uid="uid://c4xo4de2eokky" path="res://asset/font/字体/三极行楷简体-粗.ttf" id="16_l2tph"] [ext_resource type="AudioStream" uid="uid://c8j3w5qhd21p7" path="res://asset/audio/sfx/game/八音盒/操纵八音盒.mp3" id="19_7mlnq"] [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" }] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("InsideHandle:position") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.333333, 0.5), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(244, 157), Vector2(366, 166), Vector2(325, 189)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("InsideHandle:rotation") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.333333, 0.5), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [0.0, 2.07735, 2.10791] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("InsideHandle:scale") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0.333333, 0.5), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(1, 1), Vector2(1, 1)] } [sub_resource type="Animation" id="Animation_j1llk"] length = 0.001 [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="AtlasTexture" id="AtlasTexture_aml8i"] atlas = ExtResource("4_a11wt") region = Rect2(272, 127, 110, 41) [node name="八音盒" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 1 script = ExtResource("2_opptd") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_8b6h5") } [node name="BG" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -282.0 offset_top = -120.0 offset_right = 282.0 offset_bottom = 120.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("1_j0wst") [node name="MusicPlayer2D" type="AudioStreamPlayer2D" parent="."] position = Vector2(407, 159) stream = ExtResource("19_7mlnq") [node name="Box" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -282.0 offset_top = -120.0 offset_right = 282.0 offset_bottom = 120.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("4_vlbyt") [node name="SideHandle" type="AnimatedSprite2D" parent="Box"] show_behind_parent = true sprite_frames = SubResource("SpriteFrames_t7gu7") centered = false [node name="InsideHandle" type="TextureButton" parent="."] layout_mode = 0 offset_left = 244.0 offset_top = 157.0 offset_right = 354.0 offset_bottom = 198.0 pivot_offset = Vector2(90, 23) texture_normal = SubResource("AtlasTexture_aml8i") flip_h = true [node name="ButtonPositionPoints" type="Polygon2D" parent="."] position = Vector2(282, 158) polygon = PackedVector2Array(-75, 7, -55, 7, -34, 7, -14, 7, 7, 7, 28, 7, 50, 7, 71, 7, 92, 7, -72, -1, -53, -1, -33, -1, -14, -1, 7, -1, 27, -1, 48, -1, 70, -1, 90, -1, -71, -7, -52, -6, -33, -6, -13, -6, 7, -6, 27, -6, 47, -6, 69, -6, 89, -6, -70, -11, -51, -11, -32, -11, -13, -11, 7, -11, 27, -11, 47, -11, 68, -11, 88, -11, -69, -16, -50, -16, -31, -16, -13, -16, 7, -16, 27, -16, 46, -16, 68, -16, 87, -16, -68, -20, -49, -20, -31, -20, -13, -20, 7, -20, 27, -20, 46, -20, 67, -20, 86, -20, -66, -25, -48, -25, -31, -25, -13, -25, 7, -25, 26, -25, 46, -25, 66, -25, 85, -25) [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="LidHint" type="Control" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="do" type="Label" parent="LidHint"] layout_mode = 0 offset_left = 185.0 offset_top = 126.0 offset_right = 225.0 offset_bottom = 141.0 theme_override_colors/font_color = Color(0.587749, 0.465422, 0.17465, 1) theme_override_fonts/font = ExtResource("16_l2tph") theme_override_font_sizes/font_size = 10 text = "哆" [node name="si" type="Label" parent="LidHint"] layout_mode = 0 offset_left = 387.0 offset_top = 130.0 offset_right = 427.0 offset_bottom = 145.0 theme_override_colors/font_color = Color(0.587749, 0.465422, 0.17465, 1) theme_override_fonts/font = ExtResource("16_l2tph") theme_override_font_sizes/font_size = 10 text = "西" [node name="la" type="Label" parent="LidHint"] layout_mode = 0 offset_left = 180.0 offset_top = 135.0 offset_right = 220.0 offset_bottom = 150.0 theme_override_colors/font_color = Color(0.587749, 0.465422, 0.17465, 1) theme_override_fonts/font = ExtResource("16_l2tph") theme_override_font_sizes/font_size = 10 text = "拉" [node name="so" type="Label" parent="LidHint"] layout_mode = 0 offset_left = 391.0 offset_top = 140.0 offset_right = 431.0 offset_bottom = 155.0 theme_override_colors/font_color = Color(0.587749, 0.465422, 0.17465, 1) theme_override_fonts/font = ExtResource("16_l2tph") theme_override_font_sizes/font_size = 10 text = "索" [node name="fa" type="Label" parent="LidHint"] layout_mode = 0 offset_left = 176.0 offset_top = 144.0 offset_right = 216.0 offset_bottom = 159.0 theme_override_colors/font_color = Color(0.587749, 0.465422, 0.17465, 1) theme_override_fonts/font = ExtResource("16_l2tph") theme_override_font_sizes/font_size = 10 text = "发" [node name="mi" type="Label" parent="LidHint"] layout_mode = 0 offset_left = 394.0 offset_top = 150.0 offset_right = 434.0 offset_bottom = 165.0 theme_override_colors/font_color = Color(0.587749, 0.465422, 0.17465, 1) theme_override_fonts/font = ExtResource("16_l2tph") theme_override_font_sizes/font_size = 10 text = "米"