[gd_scene load_steps=29 format=3 uid="uid://766ld28y11ur"]

[ext_resource type="Script" path="res://effets/eclatement_brique/eclatement_animation.gd" id="1_jaiil"]
[ext_resource type="Texture2D" uid="uid://dl4u6xp80b3pl" path="res://effets/eclatement_brique/sprite.png" id="2_r88cx"]
[ext_resource type="AudioStream" uid="uid://dx5m18liryte6" path="res://effets/eclatement_brique/explosion.wav" id="3_aawn6"]

[sub_resource type="AtlasTexture" id="AtlasTexture_k8omh"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 0, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_axaps"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 44, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_r2k7b"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 88, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_1vipe"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 132, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_3b7g4"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 176, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_al584"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 220, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_4fl5y"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 264, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_u8am2"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 308, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_hfto7"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 352, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_fpyx8"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 396, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_o1mv6"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 440, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_1ni3y"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 484, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_6rhyi"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 528, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_p6ild"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 572, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_saikk"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 616, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_0gepx"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 660, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_bvtoy"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 704, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_idyqk"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 748, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_arijn"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 792, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_lcw4i"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 836, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_toy66"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 880, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_n5cob"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 924, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_rpyjl"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 968, 64, 44)

[sub_resource type="AtlasTexture" id="AtlasTexture_s5tlm"]
atlas = ExtResource("2_r88cx")
region = Rect2(0, 1012, 64, 44)

[sub_resource type="SpriteFrames" id="SpriteFrames_dmg24"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_k8omh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_axaps")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r2k7b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1vipe")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3b7g4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_al584")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4fl5y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u8am2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hfto7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fpyx8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_o1mv6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1ni3y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6rhyi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p6ild")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_saikk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0gepx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bvtoy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_idyqk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_arijn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lcw4i")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_toy66")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_n5cob")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rpyjl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s5tlm")
}],
"loop": false,
"name": &"eclate",
"speed": 24.0
}]

[node name="EclatementBrique" type="Node2D"]
script = ExtResource("1_jaiil")

[node name="Animation" type="AnimatedSprite2D" parent="."]
position = Vector2(-15, -8)
sprite_frames = SubResource("SpriteFrames_dmg24")
animation = &"eclate"
autoplay = "eclate"
centered = false

[node name="Bruit" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_aawn6")
autoplay = true
bus = &"Bruits"

[connection signal="animation_finished" from="Animation" to="." method="_quand_sous_effet_termine"]
[connection signal="finished" from="Bruit" to="." method="_quand_sous_effet_termine"]
