Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ozwalled on Sun 21/09/2003 23:28:21

Title: Multiple Fonts?
Post by: Ozwalled on Sun 21/09/2003 23:28:21
Is it possible to have different fonts for speech coming from different characters in the game? (I only want two, really, if that makes any difference).

Thanks!
Title: Re:Multiple Fonts?
Post by: Gilbert on Mon 22/09/2003 04:17:45
Not really, but it's on the to-do list I think.

Currently you can use:
SetSpeechFont()

before a character talks to change it to the desired font, but it's not very practical and would make things even more complicated with dialogs.
Title: Re:Multiple Fonts?
Post by: Ishmael on Mon 22/09/2003 11:02:27
function DisplaySpeechEx (int CharID, int font, string message) {
SetSpeechFont(font); // set the desired font
DisplaySpeech(CharID, message); // display speech for the specified character
SetSpeechFont(1); // set back to default
}