Re: [Super-tux-devel] Font
Brought to you by:
wkendrick
From: Ryan F. <rf...@gm...> - 2004-05-05 02:11:38
|
> I've put the letters on a 32x32 'tiles big' images. Though character 0 > to 31 ain't printable ones it might come in handy to have them > represented graphically ... (?) Umm.. that looks like 16x32. 32x8 would be the "best" size (32 * 8 = 256). This way each letter could be accessed by: c_x = c % 32 c_y = c / 32 .. or some such. I haven't actually looked at the code. This way new characters could easily be added, and until they're added they will appear as a blank space. -- Ryan |