Change the status meter updater to not do lerping as it makes the output less accurate

This commit is contained in:
2023-10-09 18:33:17 -07:00
parent 4603b8015a
commit 50f7c70571

View File

@ -47,8 +47,8 @@ func _process(delta):
$hud/inventory/wood_label.text = str(inventory.wood)
#update status HUD
$hud/bars/health.value = int(lerp($hud/bars/health.value, float(status.health), 20*delta))
$hud/bars/stamina.value = int(lerp($hud/bars/stamina.value, float(status.stamina), 20*delta))
$hud/bars/health.value = status.health
$hud/bars/stamina.value = status.stamina
func _input(event):
if event is InputEventMouseMotion: