[gd_scene load_steps=22 format=3 uid="uid://5ih50rbc0kaq"] [ext_resource type="Script" uid="uid://br8gbopcatbn0" path="res://scene/little_game/八音盒/八音盒_old.gd" id="1_8ti47"] [ext_resource type="Texture2D" uid="uid://2xbl572hv2qf" path="res://asset/art/little_game/八音盒/背景.png" id="2_4jcay"] [ext_resource type="AudioStream" uid="uid://d2psmvwpo1v8q" path="res://asset/audio/sfx/game/八音盒/操纵八音盒.mp3" id="3_iockx"] [ext_resource type="Texture2D" uid="uid://sugraxycng2u" path="res://asset/art/little_game/八音盒/无按钮.png" id="4_gdg5k"] [ext_resource type="Texture2D" uid="uid://daxg4b7lu1ep6" path="res://asset/art/little_game/八音盒/插销动画/插销-1.png" id="5_murwe"] [ext_resource type="Texture2D" uid="uid://cik6ro8nowsd3" path="res://asset/art/little_game/八音盒/插销动画/插销-2.png" id="6_1kjyn"] [ext_resource type="Texture2D" uid="uid://bslr2p2dgymxm" path="res://asset/art/little_game/八音盒/插销动画/插销-3.png" id="7_gspkj"] [ext_resource type="Texture2D" uid="uid://bp8o30lfc7xrx" path="res://asset/art/little_game/八音盒/插销动画/插销-4.png" id="8_mtub4"] [ext_resource type="Texture2D" uid="uid://oe61u43dmtd2" path="res://asset/art/little_game/八音盒/插销动画/插销-5.png" id="9_kcqq2"] [ext_resource type="Texture2D" uid="uid://c76aw8sjvkj5y" path="res://asset/art/little_game/八音盒/插销动画/插销-6.png" id="10_vqf18"] [ext_resource type="Texture2D" uid="uid://dxt5sf8eucx8q" path="res://asset/art/little_game/八音盒/插销动画/插销-7.png" id="11_8jcnl"] [ext_resource type="Texture2D" uid="uid://cxdsucu5wi464" path="res://asset/art/little_game/八音盒/插销动画/插销-8.png" id="12_1xmy3"] [ext_resource type="Texture2D" uid="uid://d0mw5ohdf5ncj" path="res://asset/art/little_game/八音盒/插销动画/插销-9.png" id="13_iyhgo"] [ext_resource type="Texture2D" uid="uid://choxebjx7jr2l" path="res://asset/art/little_game/八音盒/插销.png" id="14_raa4w"] [ext_resource type="PackedScene" uid="uid://dry6mhv6x0ppl" path="res://scene/little_game/gadget/wheel.tscn" id="15_j8jxb"] [ext_resource type="FontFile" uid="uid://255whp7fuig5" path="res://asset/font/字体/三极行楷简体-粗.ttf" id="16_s3qfw"] [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" }] } 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="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("5_murwe") }, { "duration": 1.0, "texture": ExtResource("6_1kjyn") }, { "duration": 1.0, "texture": ExtResource("7_gspkj") }, { "duration": 1.0, "texture": ExtResource("8_mtub4") }, { "duration": 1.0, "texture": ExtResource("9_kcqq2") }, { "duration": 1.0, "texture": ExtResource("10_vqf18") }, { "duration": 1.0, "texture": ExtResource("11_8jcnl") }, { "duration": 1.0, "texture": ExtResource("12_1xmy3") }, { "duration": 1.0, "texture": ExtResource("13_iyhgo") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="AtlasTexture" id="AtlasTexture_aml8i"] atlas = ExtResource("14_raa4w") region = Rect2(272, 127, 110, 41) [node name="八音盒" type="CanvasLayer"] layer = 5 script = ExtResource("1_8ti47") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_8b6h5") } [node name="BG" type="TextureRect" parent="."] 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("2_4jcay") [node name="MusicPlayer2D" type="AudioStreamPlayer2D" parent="."] position = Vector2(407, 159) stream = ExtResource("3_iockx") bus = &"game_sfx" [node name="Box" type="TextureRect" parent="."] 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_gdg5k") [node name="SideHandle" type="AnimatedSprite2D" parent="Box"] show_behind_parent = true sprite_frames = SubResource("SpriteFrames_t7gu7") centered = false [node name="InsideHandle" type="TextureButton" parent="."] 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="."] visible = false 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_j8jxb")] offset_left = 426.0 offset_top = 188.0 offset_right = 426.0 offset_bottom = 188.0 [node name="LidHint" type="Control" parent="."] layout_mode = 3 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_s3qfw") 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_s3qfw") 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_s3qfw") 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_s3qfw") 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_s3qfw") 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_s3qfw") theme_override_font_sizes/font_size = 10 text = "米"