summaryrefslogtreecommitdiff
path: root/Explosion.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Explosion.tscn')
-rw-r--r--Explosion.tscn43
1 files changed, 43 insertions, 0 deletions
diff --git a/Explosion.tscn b/Explosion.tscn
new file mode 100644
index 0000000..e1643b4
--- /dev/null
+++ b/Explosion.tscn
@@ -0,0 +1,43 @@
+[gd_scene load_steps=8 format=2]
+
+[ext_resource path="res://Resources/bomb_party_v4.png" type="Texture" id=1]
+[ext_resource path="res://Explosion.gd" type="Script" id=2]
+
+[sub_resource type="AtlasTexture" id=3]
+flags = 4
+atlas = ExtResource( 1 )
+region = Rect2( 224, 288, 16, 16 )
+
+[sub_resource type="AtlasTexture" id=4]
+flags = 4
+atlas = ExtResource( 1 )
+region = Rect2( 224, 272, 16, 16 )
+
+[sub_resource type="AtlasTexture" id=5]
+flags = 4
+atlas = ExtResource( 1 )
+region = Rect2( 224, 256, 16, 16 )
+
+[sub_resource type="SpriteFrames" id=1]
+animations = [ {
+"frames": [ SubResource( 3 ), SubResource( 3 ), SubResource( 4 ), SubResource( 4 ), SubResource( 4 ), SubResource( 5 ), SubResource( 5 ) ],
+"loop": false,
+"name": "default",
+"speed": 60.0
+} ]
+
+[sub_resource type="CircleShape2D" id=2]
+radius = 11.019
+
+[node name="Explosion" type="Area2D"]
+script = ExtResource( 2 )
+
+[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
+position = Vector2( 0.0845222, 0.0845222 )
+scale = Vector2( 0.962258, 0.962258 )
+frames = SubResource( 1 )
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+shape = SubResource( 2 )
+
+[connection signal="animation_finished" from="AnimatedSprite" to="." method="_on_AnimatedSprite_animation_finished"]