From 294f87adb4441ec25316601505ca1a7e97fa24c7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 19 Jul 2024 14:24:09 +0200 Subject: update --- Scenes/Entities/Enemies/Tree.tscn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Scenes/Entities/Enemies/Tree.tscn') 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 -- cgit v1.2.3