fix special difficulty boxes within result and gameplay screens #8
|
@ -98,7 +98,8 @@ local render = function (deltaTime, bpm, laneSpeed, jacketPath, diff, level, pro
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Draw diff rectangle
|
-- Draw diff rectangle
|
||||||
DiffRectangle.render(deltaTime, 31, y+140, 0.84, diff, level);
|
local adjustedDiff = GetDisplayDifficulty(gameplay.jacketPath, diff)
|
||||||
|
DiffRectangle.render(deltaTime, 31, y+140, 0.84, adjustedDiff, level);
|
||||||
|
|
||||||
gfx.FontSize(30);
|
gfx.FontSize(30);
|
||||||
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE)
|
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE)
|
||||||
|
|
|
@ -527,10 +527,9 @@ end
|
||||||
|
|
||||||
local drawJacketPanelContent = function(deltaTime)
|
local drawJacketPanelContent = function(deltaTime)
|
||||||
gfx.BeginPath();
|
gfx.BeginPath();
|
||||||
gfx.ImageRect(jacketPanelX + 13, jacketPanelY + 28, 265, 265,
|
gfx.ImageRect(jacketPanelX + 13, jacketPanelY + 28, 265, 265, jacketImage or defaultJacketImage, 1, 0);
|
||||||
jacketImage or defaultJacketImage, 1, 0);
|
local adjustedDiff = GetDisplayDifficulty(result.jacketPath, result.difficulty)
|
||||||
|
DiffRectangle.render(deltaTime, jacketPanelX+183, jacketPanelY+2.5, 0.67, adjustedDiff, result.level);
|
||||||
DiffRectangle.render(deltaTime, jacketPanelX+183, jacketPanelY+2.5, 0.67, result.difficulty, result.level);
|
|
||||||
|
|
||||||
-- gfx.BeginPath();
|
-- gfx.BeginPath();
|
||||||
-- gfx.ImageRect(jacketPanelX + 183, jacketPanelY + 2.5, 140 / 1.5, 31 / 1.5,
|
-- gfx.ImageRect(jacketPanelX + 183, jacketPanelY + 2.5, 140 / 1.5, 31 / 1.5,
|
||||||
|
|
Loading…
Reference in New Issue