Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Rocco on Tue 14/02/2006 13:25:03

Title: Changing Text Window GUI font
Post by: Rocco on Tue 14/02/2006 13:25:03
How do you change the font, on a text diplay box??
there are only Bg-color, BG-Image or Txt-color on the scroll out.
can someone help me out?
Title: Re: Changing Text Window GUI font
Post by: Ashen on Tue 14/02/2006 13:35:55
(At least, I'm assuming you mean a Text Window GUI.)

They use the game's 'Normal Font' (by default 0, I think), so to change it you'll need to call SetNormalFont(..);, with the number of the new font you want. If you want to change it for all through the game, game_start is probably the best place.