u guys have been really helpful 2nite, but just one more quick question,
I've got all the characters i need for bitmap fonts in my game, but if the user puts in a char that i haven't included or i accedentely put one in it exits out with the "image not found" error (obviously)
is there a quick way, something like an "if" statement i can use, i'm sure i can rack my brain for an answer but it hurts,lol
this is the code
+ Code Snippetfunction initfont(font_name$, f_num)
load image "gfx\f_"+font_name$+".bmp",f_num
paste image f_num,0,0,1
x=1:y=1
for t=65 to 90
get image t,x,y,x+13,y+14,1
x=x+14
if x=183 then x=1:y=y+15
next t
for t=48 to 57
get image t,x,y,x+13,y+14,1
x=x+14
next t
x=1:y=y+16
for t=33 to 45
get image t,x,y,x+13,y+14,1
x=x+14
next t
x=29:y=y+16
for t=58 to 64
get image t,x,y,x+13,y+14,1
x=x+14
next t
x=1:y=63
for t=46 to 47
get image t,x,y,x+13,y+14,1
x=x+14
next t
x=141:y=31
for t=94 to 96
get image t,x,y,x+13,y+14,1
x=x+14
next t
x=155:y=63
for t=126 to 126
get image t,x,y,x+13,y+14,1
x=x+14
next t
x=169:y=63
for t=124 to 124
get image t,x,y,x+13,y+14,1
x=x+14
next t
delete image f_num
endfunction