From 516d22c1737a9c94026b5ff0c9856bc5549aa416 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 3 May 2024 09:32:22 +0200 Subject: update --- Scenes/Entities/Enemies/Tree.tscn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Scenes/Entities/Enemies/Tree.tscn') diff --git a/Scenes/Entities/Enemies/Tree.tscn b/Scenes/Entities/Enemies/Tree.tscn index aedc79f..3a0de4a 100644 --- a/Scenes/Entities/Enemies/Tree.tscn +++ b/Scenes/Entities/Enemies/Tree.tscn @@ -51,7 +51,7 @@ animations = [{ "duration": 1.0, "texture": ExtResource("7_n5hht") }], -"loop": true, +"loop": false, "name": &"death_post", "speed": 2.0 }, { @@ -138,6 +138,7 @@ collision_mask = 188 script = ExtResource("1_ktvfx") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +texture_filter = 1 position = Vector2(0, -8) sprite_frames = SubResource("SpriteFrames_c5ryj") animation = &"spawn" @@ -162,6 +163,7 @@ component_health_path = NodePath("../Health") [node name="Health" parent="." instance=ExtResource("19_u7yi8")] entityPath = NodePath("..") spritePath = NodePath("../AnimatedSprite2D") +component_movement_path = NodePath("../Movement") health = 1 [node name="Detection" type="Area2D" parent="."] -- cgit v1.2.3