diff --git a/scripts/result.lua b/scripts/result.lua index e520b9e..5fd5304 100644 --- a/scripts/result.lua +++ b/scripts/result.lua @@ -52,6 +52,9 @@ local badgeLines = gfx.CreateSkinImage("result/badge_lines.png", 0); local badgeGrade = gfx.CreateSkinImage("result/badge_gradient.png", 0); local timming = gfx.CreateSkinImage("result/timing.png", 0); +local irpanelsB = gfx.CreateSkinImage("result/panels/new_score_blue.png",0); +local irpanelsO = gfx.CreateSkinImage("result/panels/new_score_orange.png",0) + local gradeImages = { S = gfx.CreateSkinImage("common/grades/S.png", 0), AAA_P = gfx.CreateSkinImage("common/grades/AAA+.png", 0), @@ -264,6 +267,29 @@ local drawRightPanel = function() gfx.BeginPath(); local tw, th = gfx.ImageSize(rightPanelImage); gfx.ImageRect(rightPanelX, rightPanelY, tw, th, rightPanelImage, 1, 0); + gfx.BeginPath(); + local tw2, th2 = gfx.ImageSize(irpanelsB); + gfx.ImageRect(1080 - 531, rightPanelY - (130+15), tw2*0.85, th2*0.8, irpanelsO, 1, 0); + -- my Score and something + gfx.FillColor(0,0,0,255) + gfx.Text("LABEL", 1080 - 515, rightPanelY - 130); + gfx.FillColor(255,255,255,255) + -- my score + gfx.Text("00000000", 1080 - 485, rightPanelY - 98); + -- best score + gfx.Text("10000000", 1080 - 325, rightPanelY - 98); + gfx.Text("IR LABEL", 1080 - 205, rightPanelY - 98); + -- my Score and something + gfx.BeginPath(); + gfx.ImageRect(1080 - 531, rightPanelY - (60+15), tw2*0.85, th2*0.8, irpanelsB, 1, 0); + gfx.FillColor(0,0,0,255) + gfx.Text("LABEL", 1080 - 515, rightPanelY - 60); + gfx.FillColor(255,255,255,255) + -- my score + gfx.Text("00000000", 1080 - 485, rightPanelY - 28); + -- best score + gfx.Text("10000000", 1080 - 325, rightPanelY - 28); + gfx.Text("IR LABEL", 1080 - 205, rightPanelY - 28); end local scoreNumber = Numbers.load_number_image("score_num"); @@ -538,6 +564,8 @@ local drawBottomPanelContent = function(deltatime) gfx.FontSize(22) gfx.Text(irText, bottomPanelX + 80, bottomPanelY + 461); + -- Draw Performance maybe + end local drawJacketPanel = function()