[gd_scene load_steps=5 format=2]

[ext_resource path="res://scripts/enemy_a.gd" type="Script" id=1]
[ext_resource path="res://sprites/enemies.png" type="Texture" id=2]

[sub_resource type="CircleShape2D" id=1]
radius = 8.0

[sub_resource type="Animation" id=2]
resource_name = "idle"
length = 0.4
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 1,
"values": [ 16, 17, 18, 19 ]
}

[node name="enemy_a_2" type="Area2D"]
monitorable = false
collision_layer = 9
collision_mask = 0
script = ExtResource( 1 )
speed = 200
score_bonus = 50

[node name="sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
centered = false
vframes = 8
hframes = 8
frame = 19

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 8, 8 )
shape = SubResource( 1 )

[node name="timer" type="Timer" parent="."]
one_shot = true

[node name="anim" type="AnimationPlayer" parent="."]
autoplay = "idle"
playback_speed = 2.0
anims/idle = SubResource( 2 )
[connection signal="area_entered" from="." to="." method="_on_enemy_1_area_entered"]
