[gd_scene format=3 uid="uid://crv0gs7xtegi4"]

[ext_resource type="Script" uid="uid://iwxi6s8i6j81" path="res://assets/scripts/enemy.gd" id="1_5q6ol"]

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

[sub_resource type="Animation" id="Animation_kbpvo"]
resource_name = "shoot"
length = 0.4
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Polygon2D:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.4),
"transitions": PackedFloat32Array(0.13869622, 2, 0.73204285),
"update": 0,
"values": [Vector2(1, 1), Vector2(0.5, 1.2), Vector2(1, 1)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_55kjn"]
_data = {
&"RESET": SubResource("Animation_kvq5h"),
&"shoot": SubResource("Animation_kbpvo")
}

[node name="Enemy" type="CharacterBody2D" unique_id=1421049985]
script = ExtResource("1_5q6ol")

[node name="Polygon2D" type="Polygon2D" parent="." unique_id=274914633]
position = Vector2(-13, 0)
rotation = 1.5707964
color = Color(0, 0.3333335, 1, 1)
polygon = PackedVector2Array(-15, 0, 15, 0, 0, -30)

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." unique_id=1346650607]
visible = false
polygon = PackedVector2Array(-16, 15, -16, -15, 14, 0)

[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1072188506]
libraries/ = SubResource("AnimationLibrary_55kjn")
