Sunday, February 7, 2010

Game Development Diaries - 003: Yay for freetype issues!


Well, not really freetype's fault. Just my lazy/incomplete coding that doesn't have full support for font metrics yet. Still, it's pretty nifty considering all a developer using my engine would need to do is the following:







font = new CSFont(&WSImage::loadImage);
font->load("monaco.ttf");
...
font->drawString(T("Hello World!\n This is a multiline text."),42,42);

Also, I haven't posted info yet but the last iteration of the WynterStorm engine was thrown away in favor of a new one. I've started once again at designing the engine, though this time with a few key ideas in mind that are not related specifically to WynterStorm.

I'll discuss the current design of the WynterStorm engine at a later time.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home