Monthly Archives: September 2007
Added callbacks to the DrawText in the BlitzMax mod so you can do this: callback test
I have decided Texpac is going to be free but if you find it useful there is a button below for donations. I started a tutorials page. Right now it just has basic documentation for Texpac.
v.93, I re-wrote the the font selector because the performance of the previous one was terrible. this one I’m quite proud of. it only sees ttf fonts and I still have to do things like when hitting a letter it moves the selector to a font that starts with that letter or cursor keys…
The previous version of the demo executable had the fmod.dll linked to it… that now fixed. v.92 with a custom font selector is now up. Still some work to do on it, it takes a while on some machines to go though the system font directory using bah.fontconfig. I need to either add a progress bar or just do it raw?
Site goes live! Added Texpac PC demo. I still have some Mac examples to add. If there is a Mac BlitzMax programmer who has/can make a “RequestFile” that allows multiple selection, I’ll trade you for it!
Worked on the text capabilities of the module. Now TPacImage.DrawText uses SetHandle to determine how the whole text is drawn instead of just the individual characters. So now SetRotation and SetScale work as expected but you still have the option of just using those to modify the individual characters.
Tested some examples on a old mac G4 laptop… ssFont fps went from 80 to 130 while ssImage2 only saw a 5-10 fps increase. I will post those PPC exes.
It seems while many gfx cards gain some real performance when using a single texture in BlitzMax some cards do not gain. But almost all cards do see a pretty good gain when using bitmap fonts though. Here’s the discussion…