diff --git a/scripts/gameplay.lua b/scripts/gameplay.lua index d5b721a..19161fc 100644 --- a/scripts/gameplay.lua +++ b/scripts/gameplay.lua @@ -868,22 +868,6 @@ function draw_combo(deltaTime) local comboScale = 0.45; draw_number(desw/2 - (tw*4*comboScale)/2+(tw*comboScale*1.5)+10, posy - th / 2, 1.0, combo, 4, comboCurrent, true, comboScale, 1.12) - - -- local digit = combo % 10 - -- gfx.BeginPath() - -- gfx.ImageRect(posx + 70, posy - th / 2, tw * 0.45, th * 0.45, comboCurrent[digit + 1], alpha, 0) - - -- digit = math.floor(combo / 10) % 10 - -- gfx.BeginPath() - -- gfx.ImageRect(posx, posy - th / 2, tw * 0.45, th * 0.45, comboCurrent[digit + 1], combo >= 10 and alpha or 0.2, 0) - - -- digit = math.floor(combo / 100) % 10 - -- gfx.BeginPath() - -- gfx.ImageRect(posx - 70, posy - th / 2, tw * 0.45, th * 0.45, comboCurrent[digit + 1], combo >= 100 and alpha or 0.2, 0) - - -- digit = math.floor(combo / 1000) % 10 - -- gfx.BeginPath() - -- gfx.ImageRect(posx - 140, posy - th / 2, tw * 0.5, th * 0.5, comboCurrent[digit + 1], combo >= 1000 and alpha or 0.2, 0) end -- -------------------------------------------------------------------------- -- -- draw_earlate: --