feat: final cutscene and full game loop
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 2m26s

This commit is contained in:
2025-08-03 11:25:21 +02:00
parent 3e0f1c99d5
commit 2d44a2da05
17 changed files with 694 additions and 199 deletions

View File

@ -15,12 +15,12 @@ func set_active(new_active: bool):
func damage(value: int = 0, direction: Vector2 = Vector2.UP):
if not active:
return
if hitback_velocity > 0:
get_parent().velocity = hitback_velocity * direction
got_hit.emit()
health -= value
if health <= 0:
die.emit()
return
get_parent().velocity = hitback_velocity * direction
got_hit.emit()