Hey, i do it by converting the integer into a string, then cycling through each digit of the string. Tehn converting the digit into a number and using it as frame number for my bitmap font image. eg 222.
Set up a loop, 1 to stringlength of integer
get loop digit
convert to integer
use integer as framenumber, and drawimage to screen. Again use the loop variable to position it.
Here's some stuff i did for it. Basic function. pass across the X,Y and the integer you want drawn.
www.rosscrooks.pwp.blueyonder.co.uk/Blitz/bitmapfont.zip
Set up a loop, 1 to stringlength of integer
get loop digit
convert to integer
use integer as framenumber, and drawimage to screen. Again use the loop variable to position it.
Here's some stuff i did for it. Basic function. pass across the X,Y and the integer you want drawn.
www.rosscrooks.pwp.blueyonder.co.uk/Blitz/bitmapfont.zip