Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Edwin Xie on Wed 26/05/2004 06:49:54

Title: Dialog colors?
Post by: Edwin Xie on Wed 26/05/2004 06:49:54
How did those other games (most of them) get different color text in a dialog for each character?
Title: Re: Dialog colors?
Post by: strazer on Wed 26/05/2004 07:00:06
In the "Characters" section of the editor, you can define a "Talking colour" for each character.
You can get the number to enter there from the "Palette" section.
Title: Re: Dialog colors?
Post by: Edwin Xie on Wed 26/05/2004 07:28:41
I see...

Well, thanks for telling me! (I got 16 bit colour so I can find it out easily)
Title: Re: Dialog colors?
Post by: Windenwart on Wed 18/04/2007 13:34:52
How I can change the dialog option mouseover color? In my game this color is yellow...
Title: Re: Dialog colors?
Post by: strazer on Wed 18/04/2007 13:42:40
In the settings you can specify a GUI to display the dialog options on. AGS then uses this GUI's foreground color property as highlight color.
If you don't use a GUI, it's hardcoded to yellow, I'm afraid (there's a tracker entry (http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=172) already).
Title: Re: Dialog colors?
Post by: Windenwart on Wed 18/04/2007 13:50:28
I can't find a property like "foreground color" in the GUI class....  ???
PS: I use AGS 2.72
Title: Re: Dialog colors?
Post by: strazer on Wed 18/04/2007 13:54:41
Try "Border Color".
Title: Re: Dialog colors?
Post by: Windenwart on Wed 18/04/2007 14:06:14
Quote from: strazer on Wed 18/04/2007 13:54:41
Try "Border Color".
No success.  :-\
Title: Re: Dialog colors?
Post by: Ashen on Wed 18/04/2007 14:11:03
The GUI has to be set to 'Text Window', otherwise the default colour (yellow) is still used. That means you'll have to set up the border image buttons, or import a transparent sprite for them. (More on Text Windows (http://www.adventuregamestudio.co.uk/manual/TextWin.htm).) Then, the property you want is 'Text Color'.
Title: Re: Dialog colors?
Post by: Windenwart on Wed 18/04/2007 14:20:00
Ok, that works...

Now I have the problem to resize an to set the position of this text window.
Title: Re: Dialog colors?
Post by: Windenwart on Wed 18/04/2007 15:53:58
It seems to be a problem to change this color in a simple way...

Can we hope of a basic game variable for this in the next versions of AGS? (The request in the suggestion tracker is from 2004  :o)