+ max chain to results & * speed up the results animation
This commit is contained in:
parent
cc2b78679a
commit
cce79649e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue