-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathExplosion.tscn
41 lines (37 loc) · 1.99 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
[gd_scene load_steps=13 format=2]
[ext_resource path="res://warped city files/SPRITES/misc/enemy-explosion/enemy-explosion-1.png" type="Texture" id=1]
[ext_resource path="res://warped city files/SPRITES/misc/enemy-explosion/enemy-explosion-2.png" type="Texture" id=2]
[ext_resource path="res://warped city files/SPRITES/misc/enemy-explosion/enemy-explosion-3.png" type="Texture" id=3]
[ext_resource path="res://warped city files/SPRITES/misc/enemy-explosion/enemy-explosion-4.png" type="Texture" id=4]
[ext_resource path="res://warped city files/SPRITES/misc/enemy-explosion/enemy-explosion-5.png" type="Texture" id=5]
[ext_resource path="res://warped city files/SPRITES/misc/enemy-explosion/enemy-explosion-6.png" type="Texture" id=6]
[ext_resource path="res://warped city files/SPRITES/misc/shot-hit/shot-hit-1.png" type="Texture" id=7]
[ext_resource path="res://warped city files/SPRITES/misc/shot-hit/shot-hit-2.png" type="Texture" id=8]
[ext_resource path="res://warped city files/SPRITES/misc/shot-hit/shot-hit-3.png" type="Texture" id=9]
[ext_resource path="res://Explosion.gd" type="Script" id=10]
[ext_resource path="res://explosion.wav" type="AudioStream" id=11]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 1 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ) ],
"loop": true,
"name": "Explode",
"speed": 10.0
}, {
"frames": [ ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ) ],
"loop": true,
"name": "ShotHit",
"speed": 5.0
} ]
[node name="Explosion" type="AnimatedSprite"]
scale = Vector2( 2, 2 )
frames = SubResource( 1 )
animation = "Explode"
frame = 1
playing = true
script = ExtResource( 10 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 11 )
volume_db = -7.173
autoplay = true
[connection signal="animation_finished" from="." to="." method="_on_Explosion_animation_finished"]
[connection signal="finished" from="AudioStreamPlayer2D" to="." method="_on_AudioStreamPlayer2D_finished"]