|
@@ -0,0 +1,51 @@
|
|
|
|
+[gd_scene load_steps=10 format=3 uid="uid://dg4lfkqrtedxg"]
|
|
|
|
+
|
|
|
|
+[ext_resource type="Texture2D" uid="uid://bgtpy7rkgpt5v" path="res://assets/textures/explosion/explosion_animation_1.png" id="1_co4ui"]
|
|
|
|
+[ext_resource type="Script" path="res://assets/scenes/explosion.gd" id="1_q2lxq"]
|
|
|
|
+[ext_resource type="Texture2D" uid="uid://21sqipoqnfox" path="res://assets/textures/explosion/explosion_animation_2.png" id="2_sifmb"]
|
|
|
|
+[ext_resource type="Texture2D" uid="uid://cfb5vxdx6ndt1" path="res://assets/textures/explosion/explosion_animation_3.png" id="3_42uc1"]
|
|
|
|
+[ext_resource type="Texture2D" uid="uid://cb5p6rrecjihx" path="res://assets/textures/explosion/explosion_animation_4.png" id="4_mq835"]
|
|
|
|
+[ext_resource type="Texture2D" uid="uid://cuxeht00edohj" path="res://assets/textures/explosion/explosion_animation_5.png" id="5_phsaf"]
|
|
|
|
+[ext_resource type="Texture2D" uid="uid://dftc3x7vfop46" path="res://assets/textures/explosion/explosion_animation_6.png" id="6_llvbn"]
|
|
|
|
+[ext_resource type="AudioStream" uid="uid://c8e6a4uxb6qql" path="res://assets/audio/explosionCrunch_000.ogg" id="7_x5vbv"]
|
|
|
|
+
|
|
|
|
+[sub_resource type="SpriteFrames" id="SpriteFrames_yqenh"]
|
|
|
|
+animations = [{
|
|
|
|
+"frames": [{
|
|
|
|
+"duration": 1.0,
|
|
|
|
+"texture": ExtResource("1_co4ui")
|
|
|
|
+}, {
|
|
|
|
+"duration": 1.0,
|
|
|
|
+"texture": ExtResource("2_sifmb")
|
|
|
|
+}, {
|
|
|
|
+"duration": 1.0,
|
|
|
|
+"texture": ExtResource("3_42uc1")
|
|
|
|
+}, {
|
|
|
|
+"duration": 1.0,
|
|
|
|
+"texture": ExtResource("4_mq835")
|
|
|
|
+}, {
|
|
|
|
+"duration": 1.0,
|
|
|
|
+"texture": ExtResource("5_phsaf")
|
|
|
|
+}, {
|
|
|
|
+"duration": 1.0,
|
|
|
|
+"texture": ExtResource("6_llvbn")
|
|
|
|
+}],
|
|
|
|
+"loop": false,
|
|
|
|
+"name": &"default",
|
|
|
|
+"speed": 10.0
|
|
|
|
+}]
|
|
|
|
+
|
|
|
|
+[node name="Explosion" type="Node2D"]
|
|
|
|
+script = ExtResource("1_q2lxq")
|
|
|
|
+
|
|
|
|
+[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
+sprite_frames = SubResource("SpriteFrames_yqenh")
|
|
|
|
+autoplay = "default"
|
|
|
|
+frame = 5
|
|
|
|
+frame_progress = 1.0
|
|
|
|
+
|
|
|
|
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
+stream = ExtResource("7_x5vbv")
|
|
|
|
+autoplay = true
|
|
|
|
+
|
|
|
|
+[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_animation_finished"]
|