summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Enemies/Tree.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-07-19 14:24:09 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-07-19 14:24:09 +0200
commit294f87adb4441ec25316601505ca1a7e97fa24c7 (patch)
treee48ed54e97f19ae5dd189ee42ddb73c4e995175f /Scenes/Entities/Enemies/Tree.tscn
parent06647b11ee163bc40daf454d87e1fcae563c3ced (diff)
update
Diffstat (limited to 'Scenes/Entities/Enemies/Tree.tscn')
-rw-r--r--Scenes/Entities/Enemies/Tree.tscn7
1 files changed, 4 insertions, 3 deletions
diff --git a/Scenes/Entities/Enemies/Tree.tscn b/Scenes/Entities/Enemies/Tree.tscn
index f216159..01a79bf 100644
--- a/Scenes/Entities/Enemies/Tree.tscn
+++ b/Scenes/Entities/Enemies/Tree.tscn
@@ -141,7 +141,7 @@ script = ExtResource("1_ktvfx")
texture_filter = 1
position = Vector2(0, -8)
sprite_frames = SubResource("SpriteFrames_c5ryj")
-animation = &"death_post"
+animation = &"spawn"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -8)
@@ -150,7 +150,8 @@ shape = SubResource("CapsuleShape2D_u8qfj")
[node name="Movement" parent="." instance=ExtResource("17_wlky1")]
entityPath = NodePath("..")
spritePath = NodePath("../AnimatedSprite2D")
-SPEED = 24
+component_collision_path = NodePath("../Collision")
+SPEED = 1.4
timer_time = 2.0
follows = true
follow_chance = 50
@@ -164,7 +165,7 @@ component_health_path = NodePath("../Health")
entityPath = NodePath("..")
spritePath = NodePath("../AnimatedSprite2D")
component_movement_path = NodePath("../Movement")
-health = 1
+health = 2
[node name="Detection" type="Area2D" parent="."]
collision_layer = 64