diff --git a/scripts/result.lua b/scripts/result.lua index 4108cb6..a6a4fc1 100644 --- a/scripts/result.lua +++ b/scripts/result.lua @@ -37,6 +37,9 @@ local idolAnimTransitionScale = 0; local rightPanelX = 0; local rightPanelY = 850; +local bottomPanelX = 0; +local bottomPanelY = 1110; + local jacketPanelX = 0; local jacketPanelY = 820; @@ -247,11 +250,14 @@ local drawBottomPanel = function() gfx.BeginPath(); local tw, th = gfx.ImageSize(bottomPanelImage); - gfx.ImageRect(0, 1110 + (BOTTOM_PANEL_TRANSTION_ENTER_OFFSET * - (1 - Easing.outQuad(transitionEnterScale))), tw, th, + gfx.ImageRect(bottomPanelX, bottomPanelY, tw, th, bottomPanelImage, Easing.outQuad(transitionEnterScale), 0); end +local drawBottomPanelContent = function () + +end + local drawJacketPanel = function() gfx.BeginPath(); local tw, th = gfx.ImageSize(jacketPanelImage); @@ -277,6 +283,10 @@ local tickTransitions = function(deltaTime) rightPanelX = 0 + (RIGHT_PANEL_TRANSTION_ENTER_OFFSET * (1 - Easing.outQuad(transitionEnterScale))) + + bottomPanelY = 1110 + (BOTTOM_PANEL_TRANSTION_ENTER_OFFSET * + (1 - Easing.outQuad(transitionEnterScale))) + jacketPanelX = 40 + (JACKET_PANEL_TRANSTION_ENTER_OFFSET * (1 - Easing.outQuad(transitionEnterScale))) end