[gd_scene load_steps=10 format=3 uid="uid://cx7cunaspu08a"] [ext_resource type="Script" path="res://entities/scripts/dancer_drone.gd" id="1_44a5b"] [ext_resource type="Texture2D" uid="uid://ck51br2sjtfbk" path="res://resources/textures/dancing_drone_body.png" id="2_d306w"] [ext_resource type="Texture2D" uid="uid://bf3e8avdh3iwn" path="res://resources/textures/dancing_drone_hat.png" id="3_deyv3"] [ext_resource type="Texture2D" uid="uid://btwh1m8nvxxn3" path="res://resources/textures/dancing_drone_leg_1.png" id="4_uppgc"] [ext_resource type="Texture2D" uid="uid://0e8ksjsqrsg5" path="res://resources/textures/dancing_drone_leg_2.png" id="5_kvsjc"] [sub_resource type="CircleShape2D" id="CircleShape2D_xfqbx"] radius = 25.0 [sub_resource type="Animation" id="Animation_utxxn"] resource_name = "Dancing" length = 3.0 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("DancingDroneBody:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1.5, 3), "transitions": PackedFloat32Array(1, -2, 1), "update": 0, "values": [0.0, 0.0523599, 0.0] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("DancingDroneBody:position") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 1.5, 3), "transitions": PackedFloat32Array(1, -2, 1), "update": 0, "values": [Vector2(1, -3), Vector2(10, -10), Vector2(1, -3)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("DancingDroneBody/DancingDroneHat:rotation") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 1.7, 3), "transitions": PackedFloat32Array(1, -2, 1), "update": 0, "values": [0.0, 0.349066, 0.0] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("DancingDroneBody/DancingDroneLeg1:rotation") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0, 1.6, 3), "transitions": PackedFloat32Array(1, -2, 1), "update": 0, "values": [0.0, -0.174533, 0.0] } tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("DancingDroneBody/DancingDroneLeg2:rotation") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "times": PackedFloat32Array(0, 1.3, 3), "transitions": PackedFloat32Array(1, -2, 1), "update": 0, "values": [0.0, -0.349066, 0.0] } tracks/5/type = "value" tracks/5/imported = false tracks/5/enabled = true tracks/5/path = NodePath("DancingDroneBody2:position") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { "times": PackedFloat32Array(0, 1.5, 2.9), "transitions": PackedFloat32Array(1, -0.5, 1), "update": 0, "values": [Vector2(1, 100), Vector2(10, 102), Vector2(1, 100)] } [sub_resource type="Animation" id="Animation_iwafd"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("DancingDroneBody2:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(1, 100)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_pfpsg"] _data = { "Dancing": SubResource("Animation_utxxn"), "RESET": SubResource("Animation_iwafd") } [node name="DancerDrone" type="Node2D" groups=["dancer"]] script = ExtResource("1_44a5b") [node name="Polygon2D" type="Polygon2D" parent="."] visible = false position = Vector2(1, -1) color = Color(0.354435, 0.719091, 0.745333, 1) polygon = PackedVector2Array(-28, -25, 25, -28, 26, 33, -32, 19) [node name="HitBox" type="Area2D" parent="." groups=["dancer"]] [node name="HitBoxShape" type="CollisionShape2D" parent="HitBox"] shape = SubResource("CircleShape2D_xfqbx") [node name="DancingDroneBody" type="Sprite2D" parent="."] position = Vector2(9.98454, -9.98798) rotation = 0.05227 scale = Vector2(0.2, 0.2) texture = ExtResource("2_d306w") offset = Vector2(3.09204, 0) [node name="DancingDroneHat" type="Sprite2D" parent="DancingDroneBody"] position = Vector2(-102, -50) rotation = 0.30747 texture = ExtResource("3_deyv3") offset = Vector2(41, -91) [node name="DancingDroneLeg1" type="Sprite2D" parent="DancingDroneBody"] position = Vector2(-72, 94) rotation = -0.163344 texture = ExtResource("4_uppgc") offset = Vector2(19, 94) [node name="DancingDroneLeg2" type="Sprite2D" parent="DancingDroneBody"] position = Vector2(54, 86) rotation = -0.33965 texture = ExtResource("5_kvsjc") offset = Vector2(-16, 107) [node name="DancingDroneBody2" type="Sprite2D" parent="."] modulate = Color(0, 0, 0, 0.0784314) position = Vector2(1, 100) rotation = 0.0289966 scale = Vector2(0.2, 0.05) texture = ExtResource("2_d306w") offset = Vector2(3.09204, 0) [node name="DancingDroneHat" type="Sprite2D" parent="DancingDroneBody2"] position = Vector2(-102, -50) rotation = 0.229387 texture = ExtResource("3_deyv3") offset = Vector2(41, -91) [node name="DancingDroneLeg1" type="Sprite2D" parent="DancingDroneBody2"] position = Vector2(-72, 94) rotation = -0.0983052 texture = ExtResource("4_uppgc") offset = Vector2(19, 94) [node name="DancingDroneLeg2" type="Sprite2D" parent="DancingDroneBody2"] position = Vector2(54, 86) rotation = -0.146 texture = ExtResource("5_kvsjc") offset = Vector2(-16, 107) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_pfpsg") } autoplay = "Dancing"