wickedX beat me to it but here's some code i whipped up using actual (individual) images, as suggested:
set image colorkey 255,0,255
gosub _GenerateImages:
do
cls rgb(0,0,0)
if NextNum + 1000 < timer()
gosub _NewNumber:
NextNum = timer()
endif
gosub _PrintScore:
loop
_GenerateImages:
for x = 0 to 9
cls RGB(255,0,255)
center text 4,0,str$(x)
if x = 0
get image 10,0,0,8,16,1
else
get image x,0,0,8,16,1
endif
next x
return
_NewNumber:
score$ = ""
for x = 1 to 8
score$ = score$ + str$(rnd(9))
next x
return
_PrintScore:
for x = 1 to 8
this = val(mid$(score$,x))
if this = 0
paste image 10,(x*8),10,1
else
paste image this,(x*8),10,1
endif
next x
text 8,20,score$
return
it's a matter of extracting each digit from the full score and pasting the appropriate image.
if your individual (hand-made) images are varying widths, you'd have to work that into the routine for pasting, ie:
x = x + image width(LastImage)
paste image ThisImage, x, y, 1
...something like that.
in the code provided, i went with 8 digits no matter the score, as some games do. ie, "00001225" vs "1225"; a sort of "odometer" display/effect but you're free to do whatever you want.
good luck
add:
Quote: "if my customer does not have the font "
you can include any font that you have the right to include
Virtual Nomad @ California, USA . DBPro V7.5
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit