staggered "xp", "hp" labels in UI
This commit is contained in:
parent
68863280f3
commit
5870c129eb
@ -339,12 +339,14 @@ function drawhud()
|
|||||||
draw_gun_info("❎",1,116,3,primary_ship.main_gun)
|
draw_gun_info("❎",1,116,3,primary_ship.main_gun)
|
||||||
draw_gun_info("🅾️",1,116,29,primary_ship.special_gun)
|
draw_gun_info("🅾️",1,116,29,primary_ship.special_gun)
|
||||||
|
|
||||||
--dropshadow("x h",114,57,1)
|
|
||||||
inset(114,57,119,118)
|
inset(114,57,119,118)
|
||||||
|
rectfill(119,57,125,58,13)
|
||||||
|
inset(120,64,125,125)
|
||||||
|
rectfill(114,124,120,125,13)
|
||||||
|
print("XP",120,56,1)
|
||||||
|
print("HP",113,121,1)
|
||||||
fillp(0x5a5a)
|
fillp(0x5a5a)
|
||||||
vertmeter(115,58,118,117,primary_ship.xp, primary_ship.xptarget, powcols)
|
vertmeter(115,58,118,117,primary_ship.xp, primary_ship.xptarget, powcols)
|
||||||
|
|
||||||
inset(120,64,125,125)
|
|
||||||
-- 59 px vertically
|
-- 59 px vertically
|
||||||
local mxs, cs, mxh, ch = primary_ship.maxshield, primary_ship.shield, primary_ship.maxhp, primary_ship.hp
|
local mxs, cs, mxh, ch = primary_ship.maxshield, primary_ship.shield, primary_ship.maxhp, primary_ship.hp
|
||||||
if (mxs > 0) and (mxh > 0) then
|
if (mxs > 0) and (mxh > 0) then
|
||||||
|
Loading…
Reference in New Issue
Block a user