1.2 atualização/add void damege

This commit is contained in:
2026-05-28 10:00:14 -03:00
parent b0ced7a793
commit 4a2b697dd9
3 changed files with 24 additions and 29 deletions
-8
View File
@@ -25,14 +25,6 @@ var coins := 0
var is_dead := false
func _physics_process(delta):
sncy()
handle_input(delta)
+3 -1
View File
@@ -13,4 +13,6 @@ func _process(delta: float) -> void:
func _on_area_3d_body_entered(body: Node3D) -> void:
print(body.name)
if "health" in body:
var damage = body.health
body.damage(damage)