1
- [gd_scene load_steps =9 format =3 uid ="uid://cfhnxg4deer84" ]
1
+ [gd_scene load_steps =10 format =3 uid ="uid://cfhnxg4deer84" ]
2
2
3
- [ext_resource type ="Texture2D" uid ="uid://bgthx0c001b41" path ="res://assets/ball_explosion.png" id ="1_7pb6g" ]
3
+ [ext_resource type ="Texture2D" uid ="uid://cx2ggbdmli6yb" path ="res://assets/explosion.png" id ="1_nse4d" ]
4
+ [ext_resource type ="Script" path ="res://ball_explosion_animate.gd" id ="2_27dbk" ]
4
5
5
- [sub_resource type ="AtlasTexture" id ="AtlasTexture_3ti85 " ]
6
- atlas = ExtResource ("1_7pb6g " )
6
+ [sub_resource type ="AtlasTexture" id ="AtlasTexture_t4wxn " ]
7
+ atlas = ExtResource ("1_nse4d " )
7
8
region = Rect2 (0 , 0 , 20 , 20 )
8
9
9
- [sub_resource type ="AtlasTexture" id ="AtlasTexture_ckv16 " ]
10
- atlas = ExtResource ("1_7pb6g " )
10
+ [sub_resource type ="AtlasTexture" id ="AtlasTexture_e1ytu " ]
11
+ atlas = ExtResource ("1_nse4d " )
11
12
region = Rect2 (20 , 0 , 20 , 20 )
12
13
13
- [sub_resource type ="AtlasTexture" id ="AtlasTexture_j2q1p " ]
14
- atlas = ExtResource ("1_7pb6g " )
14
+ [sub_resource type ="AtlasTexture" id ="AtlasTexture_b2pcb " ]
15
+ atlas = ExtResource ("1_nse4d " )
15
16
region = Rect2 (40 , 0 , 20 , 20 )
16
17
17
- [sub_resource type ="AtlasTexture" id ="AtlasTexture_5tf34 " ]
18
- atlas = ExtResource ("1_7pb6g " )
18
+ [sub_resource type ="AtlasTexture" id ="AtlasTexture_rn1yp " ]
19
+ atlas = ExtResource ("1_nse4d " )
19
20
region = Rect2 (60 , 0 , 20 , 20 )
20
21
21
- [sub_resource type ="AtlasTexture" id ="AtlasTexture_37ewm " ]
22
- atlas = ExtResource ("1_7pb6g " )
22
+ [sub_resource type ="AtlasTexture" id ="AtlasTexture_8xjnp " ]
23
+ atlas = ExtResource ("1_nse4d " )
23
24
region = Rect2 (80 , 0 , 20 , 20 )
24
25
25
- [sub_resource type ="AtlasTexture" id ="AtlasTexture_uo3mc " ]
26
- atlas = ExtResource ("1_7pb6g " )
26
+ [sub_resource type ="AtlasTexture" id ="AtlasTexture_i5xxp " ]
27
+ atlas = ExtResource ("1_nse4d " )
27
28
region = Rect2 (100 , 0 , 20 , 20 )
28
29
29
30
[sub_resource type ="SpriteFrames" id ="SpriteFrames_a1jpm" ]
31
+ resource_name = "explosion"
30
32
animations = [{
31
33
"frames" : [{
32
34
"duration" : 1.0 ,
33
- "texture" : SubResource ("AtlasTexture_3ti85 " )
35
+ "texture" : SubResource ("AtlasTexture_t4wxn " )
34
36
}, {
35
37
"duration" : 1.0 ,
36
- "texture" : SubResource ("AtlasTexture_ckv16 " )
38
+ "texture" : SubResource ("AtlasTexture_e1ytu " )
37
39
}, {
38
40
"duration" : 1.0 ,
39
- "texture" : SubResource ("AtlasTexture_j2q1p " )
41
+ "texture" : SubResource ("AtlasTexture_b2pcb " )
40
42
}, {
41
43
"duration" : 1.0 ,
42
- "texture" : SubResource ("AtlasTexture_5tf34 " )
44
+ "texture" : SubResource ("AtlasTexture_rn1yp " )
43
45
}, {
44
46
"duration" : 1.0 ,
45
- "texture" : SubResource ("AtlasTexture_37ewm " )
47
+ "texture" : SubResource ("AtlasTexture_8xjnp " )
46
48
}, {
47
49
"duration" : 1.0 ,
48
- "texture" : SubResource ("AtlasTexture_uo3mc " )
50
+ "texture" : SubResource ("AtlasTexture_i5xxp " )
49
51
}],
50
- "loop" : true ,
51
- "name" : &"default " ,
52
+ "loop" : false ,
53
+ "name" : &"explode " ,
52
54
"speed" : 30.0
53
55
}]
54
56
@@ -59,3 +61,5 @@ texture_filter = 1
59
61
texture_repeat = 1
60
62
scale = Vector2 (11.3 , 11.3 )
61
63
sprite_frames = SubResource ("SpriteFrames_a1jpm" )
64
+ animation = &"explode"
65
+ script = ExtResource ("2_27dbk" )
0 commit comments