diff options
Diffstat (limited to 'Scenes/Entities/Bombs/Bomb__Normal.tscn')
-rw-r--r-- | Scenes/Entities/Bombs/Bomb__Normal.tscn | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Scenes/Entities/Bombs/Bomb__Normal.tscn b/Scenes/Entities/Bombs/Bomb__Normal.tscn new file mode 100644 index 0000000..011c298 --- /dev/null +++ b/Scenes/Entities/Bombs/Bomb__Normal.tscn @@ -0,0 +1,49 @@ +[gd_scene load_steps=7 format=3 uid="uid://elsifewesoyx"] + +[ext_resource type="Script" path="res://Scenes/Entities/Bombs/Bomb__Normal.gd" id="1_3o4t3"] +[ext_resource type="Texture2D" uid="uid://tb10jfeilqxk" path="res://Assets/16_bit_animated_bomb/16_bit_bomb3.png" id="2_qio5f"] +[ext_resource type="Texture2D" uid="uid://ptkpqpfgcoug" path="res://Assets/16_bit_animated_bomb/16bit_bomb1.png" id="3_nom56"] +[ext_resource type="Texture2D" uid="uid://dsomaiq14ajhf" path="res://Assets/16_bit_animated_bomb/16_bit_bomb2.png" id="4_xndnu"] + +[sub_resource type="CircleShape2D" id="1"] +radius = 7.9 + +[sub_resource type="SpriteFrames" id="2"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("2_qio5f") +}, { +"duration": 1.0, +"texture": ExtResource("3_nom56") +}, { +"duration": 1.0, +"texture": ExtResource("4_xndnu") +}, { +"duration": 1.0, +"texture": ExtResource("2_qio5f") +}], +"loop": false, +"name": &"default", +"speed": 1.0 +}] + +[node name="Bomb__Normal" type="CharacterBody2D"] +collision_layer = 4 +collision_mask = 62 +script = ExtResource("1_3o4t3") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("1") + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +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"] |