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

[ext_resource type="Texture2D" uid="uid://dl75e74oom1i3" path="res://addons/ridiculous_coding/boom.png" id="1"]
[ext_resource type="AudioStream" uid="uid://b6841f7osi4rh" path="res://addons/ridiculous_coding/boom.wav" id="2"]
[ext_resource type="Script" path="res://addons/ridiculous_coding/boom.gd" id="4"]
[ext_resource type="FontFile" uid="uid://bvwnnnja1ur2i" path="res://addons/ridiculous_coding/font.tres" id="5"]

[sub_resource type="AtlasTexture" id="AtlasTexture_g3t5t"]
atlas = ExtResource("1")
region = Rect2(0, 0, 128, 128)

[sub_resource type="AtlasTexture" id="AtlasTexture_4skxo"]
atlas = ExtResource("1")
region = Rect2(128, 0, 128, 128)

[sub_resource type="AtlasTexture" id="AtlasTexture_ccvbr"]
atlas = ExtResource("1")
region = Rect2(256, 0, 128, 128)

[sub_resource type="AtlasTexture" id="AtlasTexture_0ojec"]
atlas = ExtResource("1")
region = Rect2(384, 0, 128, 128)

[sub_resource type="AtlasTexture" id="AtlasTexture_1koxs"]
atlas = ExtResource("1")
region = Rect2(512, 0, 128, 128)

[sub_resource type="AtlasTexture" id="AtlasTexture_g5t7n"]
atlas = ExtResource("1")
region = Rect2(640, 0, 128, 128)

[sub_resource type="AtlasTexture" id="AtlasTexture_27xno"]
atlas = ExtResource("1")
region = Rect2(0, 128, 128, 128)

[sub_resource type="SpriteFrames" id="SpriteFrames_ld5tu"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_g3t5t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4skxo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ccvbr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0ojec")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1koxs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g5t7n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_27xno")
}],
"loop": false,
"name": &"default",
"speed": 24.0
}]

[sub_resource type="Animation" id="Animation_pxf6h"]
resource_name = "default"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Label:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(-2, 1),
"update": 0,
"values": [Vector2(1, 1), Vector2(2, 2)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(-2, 1),
"update": 0,
"values": [Vector2(-35, -32), Vector2(-35, -70)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_ocb2c"]
_data = {
"default": SubResource("Animation_pxf6h")
}

[node name="Node2D" type="Node2D"]
texture_filter = 1
script = ExtResource("4")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.5, 0.5)
sprite_frames = SubResource("SpriteFrames_ld5tu")
frame = 6
frame_progress = 1.0

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2")
volume_db = -26.0
autoplay = true

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

[node name="Label" type="Label" parent="."]
modulate = Color(0.852828, 1.64201, 1.90577, 1)
texture_filter = 1
offset_left = -35.0
offset_top = -70.0
offset_right = 35.0
offset_bottom = -47.0
scale = Vector2(2, 2)
pivot_offset = Vector2(35, 8)
theme_override_fonts/font = ExtResource("5")
theme_override_font_sizes/font_size = 16
uppercase = true

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ocb2c")
}
autoplay = "default"

[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_AnimatedSprite_animation_finished"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
