- unused code
This commit is contained in:
parent
fbe94a1414
commit
e017fef0eb
|
@ -740,27 +740,7 @@ function draw_gauge(deltaTime)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- --draw gauge % label
|
-- TODO: 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)
|
|
||||||
end
|
end
|
||||||
-- -------------------------------------------------------------------------- --
|
-- -------------------------------------------------------------------------- --
|
||||||
-- draw_combo: --
|
-- draw_combo: --
|
||||||
|
|
Loading…
Reference in New Issue