Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: x_traveler_x on Tue 22/03/2005 07:29:25

Title: Disabling anti-aliased text at run-time [SOLVED]
Post by: x_traveler_x on Tue 22/03/2005 07:29:25
I've looked everywhere for a variable, setting, or command to change whether text is anti-aliased or not.  The manual alludes to such a thing, but I can't seem to find it anywhere.

Quote
... any TTF fonts you have in your game will be rendered to the screen anti-aliased. This can make them look a lot better, but it has two drawbacks - firstly, anti-aliasing is significantly slower than normal rendering, so you might want an option to allow the player to turn it off..
Title: Re: Disabling anti-aliased text at run-time
Post by: Gilbert on Tue 22/03/2005 07:33:12
SetGameOption (OPT_ANTIALIASFONTS, 0);
and
SetGameOption (OPT_ANTIALIASFONTS, 1);
Title: Re: Disabling anti-aliased text at run-time
Post by: x_traveler_x on Tue 22/03/2005 07:45:06
Thanks!