26.03.2014, 18:46
You should make it more comfortable like
[ab3]Statement gfxprint {x.w,y.w,text.s}
For n.w=0 To FLen(text)-1
Scroll (Peek.b(&text+n)-32)*#FONT_WIDTH,0,#FONT_WIDTH,#FONT_HEIGHT,x,y,#BITMAP_FONT
x+#FONT_WIDTH
Next
End Statement
...
gfxprint{12,12,"Robotic!"}[/ab3]
You Bitmap would look like this then:
_!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnpqrstuvwxyz{|}~
#FONT_WIDTH would be the width of each character (fix font)
[ab3]Statement gfxprint {x.w,y.w,text.s}
For n.w=0 To FLen(text)-1
Scroll (Peek.b(&text+n)-32)*#FONT_WIDTH,0,#FONT_WIDTH,#FONT_HEIGHT,x,y,#BITMAP_FONT
x+#FONT_WIDTH
Next
End Statement
...
gfxprint{12,12,"Robotic!"}[/ab3]
You Bitmap would look like this then:
_!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnpqrstuvwxyz{|}~
#FONT_WIDTH would be the width of each character (fix font)