add health component and FollowTarget Enemy Controller and minor changes

This commit is contained in:
2026-05-20 19:31:29 +01:00
parent bceb6c6df8
commit 962bc016a3
9 changed files with 56 additions and 5 deletions
+1 -2
View File
@@ -1,11 +1,10 @@
class_name HitBox extends Area2D
@export var damage:float = 10
@export_flags("player","enemy") var affect:int = 0
@export_flags("player","enemy") var damage_type:int = 0
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
print(affect)
pass # Replace with function body.