finish hud

This commit is contained in:
Kistaro Windrider 2023-10-01 12:22:52 -07:00
parent d159477fe1
commit 43bf58137a
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -59,18 +59,37 @@ box_rows = 4
box_cols = 4
function draw_box_hud()
spr(1,0,0,4,2)
spr(1,3,0,4,2)
local toff = time() * 4 \ 1 % 2
spr(107 + (active == "sprite" and toff or 0),
8*scx,4*scy,1,0.5)
3+8*scx,4*scy,1,0.5)
spr(109 + (active == "draw" and toff or 0),
8*dcx,4*dcy,1,0.5)
3+8*dcx,4*dcy,1,0.5)
print_shadow("spr",34,4,12)
sspr(8+8*scx,4*scy,8,4,47,4,16,8)
print_shadow("spr",42,5,12)
sspr(8+8*scx,4*scy,8,4,55,4,16,8)
print_shadow("draw",65,4,14)
sspr(8+8*dcx,4*dcy,8,4,83,4,16,8)
print_shadow("draw",73,5,14)
sspr(8+8*dcx,4*dcy,8,4,91,4,16,8)
end
rows_rows = 8
rows_cols = 2
function draw_rows_hud()
spr(33,0,0,2,2)
spr(35,22,0,2,2)
local toff = time() * 4 \ 1 % 2
spr(103 + (active == "sprite" and toff or 0),
17 + 22*scx, 2*scy, 0.25, 0.25)
spr(105 + (active == "draw" and toff or 0),
17 + 22*dcx, 2*dcy, 0.25, 0.25)
print_shadow("spr",48,0,12)
sspr(8+16*scx,16+2*scy,16,2,61,2,32,4)
print_shadow("draw",44,8,14)
sspr(8+16*dcx,16+2*dcy,16,2,61,10,32,4)
end
function draw_bars()
@ -167,22 +186,22 @@ __gfx__
00000000456745674567456745674567456745670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000089ab89ab89ab89ab89ab89ab89ab89ab0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000cdefcdefcdefcdefcdefcdefcdefcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000124456789abcdef0124456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000244444444444444424444444444444440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000555555555555555555555555555555550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000355555555555555535555555555555550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000355555554444444435555555444444440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000333333334444555533333333444455550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000123456789abcdef0123456789abcdef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000444422225555333344442222555533330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000