From cce79649e1cf366eb360b3fd1b6296ca589e4e23 Mon Sep 17 00:00:00 2001 From: FajsiEx Date: Tue, 27 Jul 2021 23:33:39 +0200 Subject: [PATCH] + max chain to results & * speed up the results animation --- scripts/result.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/result.lua b/scripts/result.lua index d0f58be..a5608bb 100644 --- a/scripts/result.lua +++ b/scripts/result.lua @@ -123,6 +123,9 @@ local drawRightPanelContent = function () gfx.Text('???', rightPanelX + 411, rightPanelY + 365); gfx.Text('-', rightPanelX + 411, rightPanelY + 395); gfx.Text('???', rightPanelX + 411, rightPanelY + 425); + + -- Draw max combo + gfx.Text(result.maxCombo, rightPanelX + 371, rightPanelY + 466); end local drawBottomPanel = function () @@ -171,7 +174,7 @@ end local tickTransitions = function(deltaTime) if transitionEnterScale < 1 then - transitionEnterScale = transitionEnterScale + deltaTime / 5 + transitionEnterScale = transitionEnterScale + deltaTime / 1 -- transition should last for 1s else transitionEnterScale = 1 end