This commit is contained in:
James Turk 2023-04-08 22:18:49 -05:00
parent 6b37fa56aa
commit 85a37ed070

View File

@ -152,6 +152,7 @@ levels = {
gnd=5, gnd=5,
mapy=2, mapy=2,
bad_item_ratio=0.1, bad_item_ratio=0.1,
unit="CM",
}, },
{ {
name="city nights", name="city nights",
@ -159,6 +160,7 @@ levels = {
gnd=5, gnd=5,
mapy=5, mapy=5,
bad_item_ratio=0.2, bad_item_ratio=0.2,
unit="M",
}, },
} }
lvl = levels[1] lvl = levels[1]
@ -209,7 +211,9 @@ function level_draw()
-- hud -- hud
local size = max(flr(pieces/MAX_PIECES*100), 1) local size = max(flr(pieces/MAX_PIECES*100), 1)
print(size.."CM GOAL: 100CM", 20, 1, 14) local time_left = 10
rectfill(0, 0, 128, 8, 2)
print("size "..size..lvl.unit.." "..time_left.."S ".."GOAL: 100"..lvl.unit, 1, 1, 9)
end end
function draw_stink(x, y) function draw_stink(x, y)