add sounds, add logo
This commit is contained in:
@@ -207,6 +207,7 @@ func _do_kick() -> void:
|
||||
else:
|
||||
force = 80.0
|
||||
best.call("receive_kick", best_dir, force)
|
||||
SFX.kick_player(get_parent())
|
||||
FX.hit_spark(best.global_position + Vector3(0, 0.4, 0), get_parent())
|
||||
_squish_effect()
|
||||
|
||||
@@ -262,6 +263,7 @@ func take_damage(amount: int, attacker_toughness: int = 0) -> void:
|
||||
|
||||
health = min(health - amount, max_health)
|
||||
emit_signal("health_changed", health, max_health)
|
||||
SFX.damage(get_parent())
|
||||
_squish_effect()
|
||||
|
||||
func heal(amount: int) -> void:
|
||||
|
||||
Reference in New Issue
Block a user