diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-11 17:17:38 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-11 17:17:38 +0200 |
commit | 5c722e926f04f7d81dcb235d11dda3eff1545f76 (patch) | |
tree | aea0c1f5a344e37b625f755eabded59179bf1b88 /client/menu | |
parent | 2537e764a359328870c3eabb16ee5238becd3c73 (diff) | |
download | hurrycurry-5c722e926f04f7d81dcb235d11dda3eff1545f76.tar hurrycurry-5c722e926f04f7d81dcb235d11dda3eff1545f76.tar.bz2 hurrycurry-5c722e926f04f7d81dcb235d11dda3eff1545f76.tar.zst |
slower anim of non-player owned items and fix static call to interpolation functions.
Diffstat (limited to 'client/menu')
-rw-r--r-- | client/menu/overlay.gd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/menu/overlay.gd b/client/menu/overlay.gd index 0bedd817..08520412 100644 --- a/client/menu/overlay.gd +++ b/client/menu/overlay.gd @@ -54,9 +54,9 @@ func reset(): timer.stop() func _process(delta): - failed_label.scale = Global.interpolate(failed_label.scale, Vector2(1, 1), delta * 4.) - completed_label.scale = Global.interpolate(completed_label.scale, Vector2(1, 1), delta * 4.) - points_label.scale = Global.interpolate(points_label.scale, Vector2(1, 1), delta * 4.) + failed_label.scale = G.interpolate(failed_label.scale, Vector2(1, 1), delta * 4.) + completed_label.scale = G.interpolate(completed_label.scale, Vector2(1, 1), delta * 4.) + points_label.scale = G.interpolate(points_label.scale, Vector2(1, 1), delta * 4.) var seconds: float = floor(timer.time_left) seconds_label.text = str(int(seconds)) decimals_label.text = "%01d" % int((timer.time_left - seconds) * 10) |