Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Icey on Wed 29/09/2010 22:44:32

Title: Can I Change all font or just the main font with a code?
Post by: Icey on Wed 29/09/2010 22:44:32
In my game I want to change the font to a different language wit a code like

Game.font = Ariel;

setfont(Ariel);
Title: Re: Can I Change all font or just the main font with a code?
Post by: monkey0506 on Thu 30/09/2010 21:54:52
Look for Game.NormalFont and Game.SpeechFont.
Title: Re: Can I Change all font or just the main font with a code?
Post by: Dualnames on Thu 30/09/2010 22:33:38
If you're trying to do the equivalent of font processing done in your Wordpad or MS Word, then that can't really be done in AGS. At least not without you setting it up at first. And that may require lots of work. You see AGS uses fonts you IMPORT, and not what exists in your FONTS directory as Wordpad. Therefore you'd have to import them all. Plus in terms of size of font that is fixed when imported.
Title: Re: Can I Change all font or just the main font with a code?
Post by: Icey on Fri 01/10/2010 02:54:37
Nah,I just needed something like what monkey said although game.speechfont is not there.

Never mind got it working, thx guys :]
Title: Re: Can I Change all font or just the main font with a code?
Post by: Ryan Timothy B on Fri 01/10/2010 03:00:09
That's because it's uppercase Game.SpeechFont not game.SpeechFont.