[gd_scene load_steps=5 format=2]

[ext_resource path="res://sprites/enemie_0.png" type="Texture" id=1]
[ext_resource path="res://scripts/enemie_0.gd" type="Script" id=2]
[ext_resource path="res://animations/damage.tres" type="Animation" id=3]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 2.5, 1 )

[node name="enemie_0" type="Area2D"]
monitoring = false
monitorable = false
collision_mask = 0
script = ExtResource( 2 )

[node name="sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
offset = Vector2( 0.5, 0.5 )
flip_v = true

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

[node name="anim" type="AnimationPlayer" parent="."]
playback_speed = 0.5
anims/damage = ExtResource( 3 )

[node name="life_time" type="Timer" parent="."]
wait_time = 10.0
one_shot = true

[node name="ready_time" type="Timer" parent="."]
wait_time = 0.2
one_shot = true
autostart = true

[node name="hit" type="AudioStreamPlayer" parent="."]
