score system and bitmap fonts

Blitz3D Forums/Blitz3D Beginners Area/score system and bitmap fonts

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You could convert your value variable to a string and parse this, or use this math version:
num=234587
nn=Floor(Log10(Abs(num+(num=0))))+1
For n=nn To 1 Step -1
	frame=((Abs(num) Mod 10^n)-(Abs(num) Mod 10^(n-1)))/(10^(n-1))
	Text x,y,frame
	x=x+20
Next