* messing with strokes, no changes were made

This commit is contained in:
FajsiEx 2021-10-10 00:20:03 +02:00
parent ce3f868a1c
commit fe3dba2269
1 changed files with 14 additions and 1 deletions

View File

@ -41,6 +41,7 @@ end
local render = function (deltaTime, score, maxChain)
tickTransitions(deltaTime)
gfx.Save();
local x = desw - 740*0.61; -- WHY IS THERE DIFFERENT SCALING FOR THIS TOO????
local y = 330;
@ -60,10 +61,22 @@ local render = function (deltaTime, score, maxChain)
draw_number(x+338, y + 90, 1.0, score, 4, scoreNumbers, true, 0.28, 1.12)
-- Draw max chain
gfx.BeginPath();
gfx.LoadSkinFont('Digital-Serial-Bold.ttf')
gfx.TextAlign(gfx.TEXT_ALIGN_RIGHT + gfx.TEXT_ALIGN_MIDDLE)
gfx.FontSize(30)
gfx.FontSize(30);
-- gfx.FillColor(0,0,0,255);
-- gfx.Text(string.format("%04d", maxChain), x+170-2, y+155-2);
-- gfx.Text(string.format("%04d", maxChain), x+170-2, y+155+2);
-- gfx.Text(string.format("%04d", maxChain), x+170+2, y+155-2);
-- gfx.Text(string.format("%04d", maxChain), x+170+2, y+155+2);
gfx.FillColor(255,255,255,255);
gfx.Text(string.format("%04d", maxChain), x+170, y+155);
gfx.Restore();
end
return {