diff options
Diffstat (limited to 'Scenes/Entities/Enemies/Statue.tscn')
-rw-r--r-- | Scenes/Entities/Enemies/Statue.tscn | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Scenes/Entities/Enemies/Statue.tscn b/Scenes/Entities/Enemies/Statue.tscn new file mode 100644 index 0000000..50d8bf2 --- /dev/null +++ b/Scenes/Entities/Enemies/Statue.tscn @@ -0,0 +1,30 @@ +[gd_scene load_steps=4 format=3 uid="uid://c2l6n3sjgpy5"] + +[ext_resource type="Script" path="res://Scenes/Entities/Enemies/Statue.gd" id="1_n74bh"] +[ext_resource type="Texture2D" uid="uid://td1476flhtb5" path="res://Assets/Enemies/Statue_2.png" id="2_ra1ju"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_oavvo"] +size = Vector2(16, 32) + +[node name="Statue" type="StaticBody2D"] +collision_layer = 8 +collision_mask = 0 +script = ExtResource("1_n74bh") + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture_filter = 1 +position = Vector2(0, -8) +texture = ExtResource("2_ra1ju") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2(0, -8) +shape = SubResource("RectangleShape2D_oavvo") + +[node name="Timer" type="Timer" parent="."] +wait_time = 3.0 +autostart = true + +[node name="ProjectileStart" type="Node2D" parent="."] +position = Vector2(0, -8) + +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] |