[gd_scene load_steps=15 format=3 uid="uid://cexplosion01a"]

[ext_resource type="Script" uid="uid://dft6gwjocfwx5" path="res://effects/explosion.gd" id="1_expl01"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_01.png" id="2_expl01"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_02.png" id="3_expl02"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_03.png" id="4_expl03"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_04.png" id="5_expl04"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_05.png" id="6_expl05"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_06.png" id="7_expl06"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_07.png" id="8_expl07"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_08.png" id="9_expl08"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_09.png" id="10_expl09"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_10.png" id="11_expl10"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_11.png" id="12_expl11"]
[ext_resource type="Texture2D" path="res://assets/images/effects/explosion/explosion_12.png" id="13_expl12"]

[sub_resource type="CircleShape2D" id="CircleShape2D_expl01"]
radius = 45.0

[sub_resource type="SpriteFrames" id="SpriteFrames_expl01"]
animations = [{
"frames": [{
"duration": 5.0,
"texture": ExtResource("2_expl01")
}, {
"duration": 5.0,
"texture": ExtResource("3_expl02")
}, {
"duration": 5.0,
"texture": ExtResource("4_expl03")
}, {
"duration": 5.0,
"texture": ExtResource("5_expl04")
}, {
"duration": 5.0,
"texture": ExtResource("6_expl05")
}, {
"duration": 5.0,
"texture": ExtResource("7_expl06")
}, {
"duration": 5.0,
"texture": ExtResource("8_expl07")
}, {
"duration": 5.0,
"texture": ExtResource("9_expl08")
}, {
"duration": 5.0,
"texture": ExtResource("10_expl09")
}, {
"duration": 5.0,
"texture": ExtResource("11_expl10")
}, {
"duration": 5.0,
"texture": ExtResource("12_expl11")
}, {
"duration": 5.0,
"texture": ExtResource("13_expl12")
}],
"loop": false,
"name": &"explode",
"speed": 20.0
}]

[node name="Explosion" type="AnimatedSprite2D"]
sprite_frames = SubResource("SpriteFrames_expl01")
animation = &"explode"
autoplay = ""
script = ExtResource("1_expl01")

[node name="GhostArea" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="GhostArea"]
shape = SubResource("CircleShape2D_expl01")
