TBitmapFont

BlitzMax Forums/BlitzMax Programming/TBitmapFont

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.

GfK: Yeah I made a load of DrawText wrapper functions for various different things like justification, shadows etc. I'm gonna go with the wasted array slots method.

Tim: OK cool, thanks for the answers. I'll probably remove texture size as it just complicate things, I may keep scale factor but it will slow everything down (a teeny weeny bit) due to having an extra multiplication to do.

Got it working now, neat! I can see how to build an TAnimImage type using UV now :-)

I've added in some extra functionality like a Char Gap and optional rounded draw coords for crisp drawing if you are drawing at scale 1 (which I'll be doing a lot).

Now all I need to make my empire complete is some working Mesh code (for scrolling tile maps)!