Friday, March 14, 2008

Font Review

Since I'm almost done with most of the mapping engine, I started going back to some of the text code I had written earlier. It was supposed to serve as a base for the menu code I was going to write afterwards.

The font set for this project includes a lot of characters not in ASCII. Since much of the menu layout was in 8x8 tiles, the same size as the font tiles themselves, it was decided to use custom character codes.

Initially, a converter written by Halifax was used to convert text in text files to the hex codes. However, I couldn't get it to work on my computer; anti-virus perhaps? Halifax and I couldn't figure out what was going on on my end. That was a couple months ago around November '07.

Recently, however, Spencer was looking at some of the code and pointed out that I could probably use #define and define some constants instead. Much easier now considering I can read the text instead of seeing confusing hex codes x.x

Mapping is still progressing so cross fingers for a world map exploration demo!

No comments: