[gd_scene load_steps=7 format=3 uid="uid://nxq2fd04ehcu"]

[ext_resource type="Script" path="res://entities/scripts/director_drone.gd" id="1_3v6jp"]
[ext_resource type="Texture2D" uid="uid://dnhs5ymd6ybyd" path="res://resources/textures/director_drone.png" id="2_8nbjk"]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_wr5vn"]
radius = 43.0
height = 94.0

[sub_resource type="Animation" id="Animation_qstd5"]
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("DirectorDrone:offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1, 2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(10, 0), Vector2(0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Shadow:offset")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.047402, 1, 2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(10, 0), Vector2(0, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("DirectorDrone:rotation")
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": [0.0, 0.0523599, 0.0]
}

[sub_resource type="Animation" id="Animation_gkp0o"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("DirectorDrone:offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Shadow:offset")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 0)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_xu26h"]
_data = {
"Idle": SubResource("Animation_qstd5"),
"RESET": SubResource("Animation_gkp0o")
}

[node name="DirectorDrone" type="Node2D"]
script = ExtResource("1_3v6jp")

[node name="ClickDetection" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="ClickDetection"]
position = Vector2(-2, 10)
shape = SubResource("CapsuleShape2D_wr5vn")

[node name="DirectorDrone" type="Sprite2D" parent="."]
scale = Vector2(0.3, 0.3)
texture = ExtResource("2_8nbjk")

[node name="Shadow" type="Sprite2D" parent="."]
self_modulate = Color(0, 0, 0, 0.0784314)
position = Vector2(0, 100)
scale = Vector2(0.3, 0.1)
texture = ExtResource("2_8nbjk")

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

[node name="Label" type="Label" parent="."]
visible = false
offset_left = 16.0
offset_top = 25.0
offset_right = 56.0
offset_bottom = 48.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
text = "9	"

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

[connection signal="input_event" from="ClickDetection" to="." method="_on_click_detection_input_event"]
[connection signal="mouse_entered" from="ClickDetection" to="." method="_on_click_detection_mouse_entered"]
[connection signal="mouse_exited" from="ClickDetection" to="." method="_on_click_detection_mouse_exited"]
