[gd_scene load_steps=5 format=3 uid="uid://dqdi1tpoid80c"]

[ext_resource type="Script" path="res://entities/scripts/collector_drone.gd" id="1_ws83e"]
[ext_resource type="Texture2D" uid="uid://btyc0yk5nbn2t" path="res://resources/textures/collector_drone.png" id="2_wq72s"]

[sub_resource type="Animation" id="Animation_m21sl"]
resource_name = "Idle"
length = 2.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("CollectorDrone:offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1, 2),
"transitions": PackedFloat32Array(1, -2, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(10, 8), Vector2(0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("CollectorDrone:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 1, 2),
"transitions": PackedFloat32Array(1, -2, 1),
"update": 0,
"values": [0.0, 0.0523599, 0.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Shadow:offset")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 1, 2),
"transitions": PackedFloat32Array(1, -2, 1),
"update": 0,
"values": [Vector2(3.91169, 3.12935), Vector2(10, 8), Vector2(3.91169, 3.12935)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_keqev"]
_data = {
"Idle": SubResource("Animation_m21sl")
}

[node name="CollectorDrone" type="Node2D"]
script = ExtResource("1_ws83e")

[node name="Polygon2D" type="Polygon2D" parent="."]
visible = false
position = Vector2(1, -1)
color = Color(0.620241, 0.619217, 0.900702, 1)
polygon = PackedVector2Array(-28, -25, 25, -28, 26, 33, -32, 19)

[node name="CollectorDrone" type="Sprite2D" parent="."]
position = Vector2(0, 1)
rotation = 0.00352767
scale = Vector2(0.25, 0.25)
texture = ExtResource("2_wq72s")
offset = Vector2(0.673735, 0.538988)

[node name="Shadow" type="Sprite2D" parent="."]
modulate = Color(0, 0, 0, 0.0784314)
position = Vector2(0, 100)
rotation = 0.0204816
scale = Vector2(0.25, 0.1)
texture = ExtResource("2_wq72s")
offset = Vector2(4.32188, 3.4575)

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_keqev")
}
autoplay = "Idle"
