iDevGames Forums
Simple bitmap font class - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Simple bitmap font class (/thread-8846.html)



Simple bitmap font class - iamflimflam1 - Apr 16, 2011 08:58 AM

Hi All,

I just pushed a very simple Font class for reading the fnt files generated by the Bitmap Font Generator at AngelCode: http://www.angelcode.com/products/bmfont/

My aim was to make it as simple as possible and not have any drawing code in it - so it just generates the vertices and texture coords. That way I can use it for both ES1.1 and ES2.0 rendering.

I've put it up here in a sample iPhone project:
https://github.com/cgreening/Bitmap-Font/

Hopefully it will be of use to someone.

Cheers
Chris.


RE: Simple bitmap font class - tapouillo - Mar 1, 2012 05:05 AM

hi,

a bitmap font generator is now available for Mac : bmGlyph.
it generates the bitmap and the atlas file which can be used by the above class.

It has realtime rendering, a preview mode and many features: cast shadow, stroke, colors (plain, glossy), gradient and you can even import your own texture which will be applied on each glyph. It is also possible to work on each glyph without affecting the others (for example, having different colors for numbers etc...). The texture is resized automatically according to the settings, and an AutoSD option is available, which allow you to easily create bitmap fonts for retina display.

more infos and screenshots at http://www.bmglyph.com

available on the mac app store.

hope you will enjoy it.


RE: Simple bitmap font class - AndyKorth - Mar 3, 2012 08:45 PM

Nice work flimflam! (even though I am 11 months late to the show!)