From 50f7c70571e1d5af44f90d099c8fb15686060345 Mon Sep 17 00:00:00 2001 From: Zakarya Date: Mon, 9 Oct 2023 18:33:17 -0700 Subject: [PATCH] Change the status meter updater to not do lerping as it makes the output less accurate --- data/character/character.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/character/character.gd b/data/character/character.gd index 53de424..c0dcd8e 100644 --- a/data/character/character.gd +++ b/data/character/character.gd @@ -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: