tank-dev / tank

A 2D C++ game engine taking inspiration from FlashPunk
Boost Software License 1.0
12 stars 3 forks source link

Bitmap Font Considered Harmful #12

Closed qualiaa closed 11 years ago

qualiaa commented 11 years ago

Currently the rendering engine is banjaxed to provide bitmap font support in the most horrific manner imaginable. TextObject is a horrible class and Text is also not great. The Render method drawText or whatever it is keeps me awake at nights like tonight. Bitmap font support isn't inherently evil, but it would be nice to have a class called BitmapFont that handled the perculiars and was presented to Render as just another image.

qualiaa commented 11 years ago

Okay, finally written a nicer version, BitmapText