-
Notifications
You must be signed in to change notification settings - Fork 10
/
ExplosionEffect.tscn
47 lines (42 loc) · 1.13 KB
/
ExplosionEffect.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
42
43
44
45
46
47
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Explosion.png" type="Texture" id=1]
[ext_resource path="res://Explode.wav" type="AudioStream" id=2]
[sub_resource type="Animation" id=1]
resource_name = "Explode"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 0, 1, 2, 3, 4 ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.5 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [ ],
"method": "queue_free"
} ]
}
[node name="ExplosionEffect" type="Sprite"]
texture = ExtResource( 1 )
hframes = 6
frame = 4
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "Explode"
anims/Explode = SubResource( 1 )
[node name="ExplodeSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
autoplay = true