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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
[gd_scene load_steps=8 format=3 uid="uid://c8cg25hagp4lj"]
[ext_resource type="Texture2D" uid="uid://5dk0c1kpvdgs" path="res://Assets/bomb_party_v4.png" id="1"]
[ext_resource type="Script" path="res://Scenes/Entities/Bombs/Explosion.gd" id="2"]
[sub_resource type="AtlasTexture" id="3"]
atlas = ExtResource("1")
region = Rect2(224, 288, 16, 16)
[sub_resource type="AtlasTexture" id="4"]
atlas = ExtResource("1")
region = Rect2(224, 272, 16, 16)
[sub_resource type="AtlasTexture" id="5"]
atlas = ExtResource("1")
region = Rect2(224, 256, 16, 16)
[sub_resource type="SpriteFrames" id="1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("3")
}, {
"duration": 1.0,
"texture": SubResource("3")
}, {
"duration": 1.0,
"texture": SubResource("4")
}, {
"duration": 1.0,
"texture": SubResource("4")
}, {
"duration": 1.0,
"texture": SubResource("4")
}, {
"duration": 1.0,
"texture": SubResource("5")
}, {
"duration": 1.0,
"texture": SubResource("5")
}],
"loop": false,
"name": &"default",
"speed": 60.0
}]
[sub_resource type="CircleShape2D" id="2"]
radius = 7.5
[node name="Explosion" type="Area2D"]
collision_layer = 32
collision_mask = 254
script = ExtResource("2")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(-2.98023e-08, -2.98023e-08)
scale = Vector2(0.913346, 0.913346)
sprite_frames = SubResource("1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("2")
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_AnimatedSprite_animation_finished"]
|