diff options
Diffstat (limited to 'Scenes/Entities/Enemies/Tree.tscn')
-rw-r--r-- | Scenes/Entities/Enemies/Tree.tscn | 7 |
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 |