back end degat vie
This commit is contained in:
parent
c3d84f1e17
commit
7b66e219b2
8 changed files with 138 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue