summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Enemies/Tree.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-05-03 09:32:22 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-05-03 09:32:22 +0200
commit516d22c1737a9c94026b5ff0c9856bc5549aa416 (patch)
treecd9ef3089d1c8bdfc440b5673f7ad0d0dce787a9 /Scenes/Entities/Enemies/Tree.tscn
parentd192b1546ab39180cdc28d2621c117539e3d26d6 (diff)
update
Diffstat (limited to 'Scenes/Entities/Enemies/Tree.tscn')
-rw-r--r--Scenes/Entities/Enemies/Tree.tscn4
1 files changed, 3 insertions, 1 deletions
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="."]