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
|
[gd_scene load_steps=7 format=3 uid="uid://bcdo4xwalfyw2"]
[ext_resource type="Script" path="res://Scenes/Entities/Bombs/Bomb__Breakables.gd" id="1_53dqw"]
[ext_resource type="Texture2D" uid="uid://tb10jfeilqxk" path="res://Assets/16_bit_animated_bomb/16_bit_bomb3.png" id="2_xuubc"]
[ext_resource type="Texture2D" uid="uid://ptkpqpfgcoug" path="res://Assets/16_bit_animated_bomb/16bit_bomb1.png" id="3_3gndm"]
[ext_resource type="Texture2D" uid="uid://dsomaiq14ajhf" path="res://Assets/16_bit_animated_bomb/16_bit_bomb2.png" id="4_u38sl"]
[sub_resource type="CircleShape2D" id="1"]
radius = 7.9
[sub_resource type="SpriteFrames" id="2"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_xuubc")
}, {
"duration": 1.0,
"texture": ExtResource("3_3gndm")
}, {
"duration": 1.0,
"texture": ExtResource("4_u38sl")
}, {
"duration": 1.0,
"texture": ExtResource("2_xuubc")
}],
"loop": false,
"name": &"default",
"speed": 1.0
}]
[node name="Bomb__Breakables" type="CharacterBody2D"]
collision_layer = 4
collision_mask = 62
script = ExtResource("1_53dqw")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
modulate = Color(1, 0, 0, 1)
position = Vector2(1, -1)
scale = Vector2(1.23978, 1.23978)
sprite_frames = SubResource("2")
[node name="Timer" type="Timer" parent="."]
wait_time = 4.0
one_shot = true
autostart = true
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|