TBitmapFont - Free Bitmap Font Engine

BlitzMax Forums/BlitzMax Programming/TBitmapFont - Free Bitmap Font Engine

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.

Hi,

I have created a small BitmapFontEditor and some easy to use BitmapFont classes for Blitzmax.

Here is a screenshot of the editor/converter:



You can download and use it for free here:

http://www.intermediaware.com/index.php?id=295

It's very easy to use, here is some example source:

SuperStrict

Import "BitmapFont.bmx"

Graphics(800,600,0,60)

SetBlend (ALPHABLEND)

Local MyFont:TBitmapFont = New TBitmapFont
MyFont.Load("fonts/micross_30.fnt")

While (Not KeyDown(KEY_ESCAPE))
	Cls
	MyFont.Draw("Hello World!",MouseX(),MouseY(), True)
	Flip
Wend

End