Add terrain hit effects, progressive damage component, and update collectable signals

This commit is contained in:
2025-05-29 01:00:19 +02:00
parent 37b96c0f11
commit 26af7a591d
29 changed files with 406 additions and 22 deletions

View File

@@ -56,7 +56,7 @@ func decrease_health(value: float):
func increase_health(value: float):
var delta = _get_delta(value)
var delta := _get_delta(value)
health += value
@@ -65,7 +65,6 @@ func increase_health(value: float):
on_health_change.emit(delta, health)
return
health += value
if heal_fx:
heal_fx.play()
on_health_change.emit(delta, health)