diff options
Diffstat (limited to 'Scenes/Entities/Bombs/Bomb__Breakables.tscn')
-rw-r--r-- | Scenes/Entities/Bombs/Bomb__Breakables.tscn | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Scenes/Entities/Bombs/Bomb__Breakables.tscn b/Scenes/Entities/Bombs/Bomb__Breakables.tscn new file mode 100644 index 0000000..a4bb192 --- /dev/null +++ b/Scenes/Entities/Bombs/Bomb__Breakables.tscn @@ -0,0 +1,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"] |