From fe3dba22692ebcf98b6513dce9daf380d06e1b50 Mon Sep 17 00:00:00 2001 From: FajsiEx Date: Sun, 10 Oct 2021 00:20:03 +0200 Subject: [PATCH] * messing with strokes, no changes were made --- scripts/gameplay/score_panel.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/scripts/gameplay/score_panel.lua b/scripts/gameplay/score_panel.lua index d0de8a6..7c4da87 100644 --- a/scripts/gameplay/score_panel.lua +++ b/scripts/gameplay/score_panel.lua @@ -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 {