yeah, i can't seem to get it working in my game though, i wrote a function to use but i can't seem to get it to work, i think the function would work in pro(don't know though) but i can't seem to get the boxes to display in the little test program i made. here's the code:
set display mode 800,600,32
sync on
sync rate 60
hide mouse
disable escapekey
autocam off
ink rgb(0,255,0),0
set text size 15
color backdrop rgb(0,0,0)
repeat
infobars(100,75,100,28,100,100)
sync
until escapekey() = 1
end
function infobars(enmax,energy,sldmax,shield,hthmax,health)
enmax# = enmax
energy# = energy
sldmax# = sldmax
shield# = shield
hthmax# = hthmax
health# = health
tmp# = (energy#/enmax#)*100
ink rgb(0,0,int(tmp#*2+55)),0
text 200,200, str$(int(tmp#))
box 800-int(tmp#),25,800,75
tmp# = (shield#/sldmax#)*100
ink rgb(0,0,255 - int(tmp#*2+55)),0
text 200,220, str$(tmp#)
box 200-int(tmp#),100,800,150
tmp# = (health#/hthmax#)*100
ink rgb(255 - int(tmp#*2+55),int(tmp#*2+55),0),0
text 200,240, str$(tmp#)
box 200-int(tmp#),175,800,225
ink rgb(0,255,0),0
box 100,100,200,200
endfunction
Sparring - Loved by many, Pefected by few.
I'm going to live forever, or DIE IN THE ATTEMPT!!!"