[gd_scene load_steps=4 format=2]

[ext_resource path="res://sprites/explosiion.png" type="Texture" id=1]
[ext_resource path="res://audio/sounds/explosssion_1.wav" type="AudioStream" id=2]

[sub_resource type="Animation" id=1]
resource_name = "hit"
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, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 10, 6, 11, 6, 10, 13, 10, 13, 11, 15 ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 1 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "queue_free"
} ]
}

[node name="hit_2" type="Node2D"]

[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
vframes = 4
hframes = 4
frame = 15

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "hit"
playback_speed = 3.0
anims/hit = SubResource( 1 )

[node name="audio" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 2 )
volume_db = -2.0
autoplay = true
