back end degat vie

This commit is contained in:
Elouan 2025-01-25 02:33:26 +01:00
parent c3d84f1e17
commit 7b66e219b2
8 changed files with 138 additions and 14 deletions

View file

@ -42,9 +42,3 @@ func _process(delta: float) -> void:
$AnimatedSprite2D.play("Generic")
velocity = direction * SPEED
func Collision(body: Node2D) -> void:
print(body)
if body.is_in_group("Player") :
body.take_damage(1)