-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExplosion.tscn
29 lines (24 loc) · 968 Bytes
/
Explosion.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Assets/explosion frame 1.png" type="Texture" id=1]
[ext_resource path="res://Assets/explosion frame 2.png" type="Texture" id=2]
[ext_resource path="res://Assets/explosion frame 3.png" type="Texture" id=3]
[ext_resource path="res://Explosion.gd" type="Script" id=4]
[ext_resource path="res://Assets/Sound/splode1.wav" type="AudioStream" id=5]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 1 ), ExtResource( 2 ), ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Explosion" type="AnimatedSprite"]
scale = Vector2( 0.5, 0.5 )
z_index = 20
frames = SubResource( 1 )
playing = true
script = ExtResource( 4 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 5 )
volume_db = -12.381
autoplay = true
[connection signal="animation_finished" from="." to="." method="_on_Explosion_animation_finished"]