diff --git a/scripts/gameplay.lua b/scripts/gameplay.lua index 05ead4c..8cb43db 100644 --- a/scripts/gameplay.lua +++ b/scripts/gameplay.lua @@ -740,27 +740,7 @@ function draw_gauge(deltaTime) - -- --draw gauge % label - -- posx = posx / scale - -- posx = posx + (-20 * 0.5) - -- -- 630 = 0% position - -- height = 960 * 0.5 - -- posy = posy / scale - - -- tw, th = gfx.ImageSize(gaugeNumBack) - -- 80 = 100% position - -- posy = posy + (95 * 0.5) + height - height * gameplay.gauge.value - -- -- Draw the background - -- gfx.BeginPath() - -- gfx.FillColor(255, 255, 255) - -- gfx.ImageRect(posx - 44, posy - 10, tw, th, gaugeNumBack, 1, 0) - - -- gfx.BeginPath() - -- gfx.FillColor(250, 228, 112) - -- draw_number(posx - 24, posy + 4, 1.0, math.floor(gameplay.gauge.value * 100), 3, numberImages, true) - -- gfx.TextAlign(gfx.TEXT_ALIGN_RIGHT + gfx.TEXT_ALIGN_MIDDLE) - -- gfx.FontSize(18) - -- gfx.Text(string.format("%d", math.floor(gameplay.gauge.value * 100)), posx, posy + 4) + -- TODO: Draw gauge % label end -- -------------------------------------------------------------------------- -- -- draw_combo: --