Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Bhup on Tue 01/02/2005 20:36:27

Title: Is it possible to change font colour? [SOLVED]
Post by: Bhup on Tue 01/02/2005 20:36:27
Greetings,  :)
I have looked in the manual but can't find anything on changing the font colour. One of my characters speech text is black and I have to put an outline on it to show against the background but the speech text comes out blurred/smudgy.  So I want to either change the outline colour or the inside colour of the text.

The only think I can come up with is a

SetLabelColor

But I don't know what GUI number to put in or the object number.  If the latter is refering to 'objects in the room' then this is the wrong command as I need it for the speech text.

Can anyone help???
Bhup
Title: Re: Is it possible to change font colour?
Post by: Necro on Tue 01/02/2005 20:50:38
Its in the manual...

SetTalkingColor (CHARID, int newcolor)

Changes the character CHARID's speech text color to NEWCOLOR. This could be useful if in a particular room, the background colour is very similar to the speech colour, so you can override it using this function.
NEWCOLOR is the colour slot index from 0 to 255.

Example:

SetTalkingColor (EGO, 14);

will change the character's EGO talking color to yellow.
Title: Re: Is it possible to change font colour?
Post by: Bhup on Wed 02/02/2005 12:08:36
Thanks Necro,
I knew someone would say it was in the manualÃ,  ::)
Just gotta look harder. Anyway it works perfectly!Thanks againÃ,  ;)
Bhup
Title: Re: Is it possible to change font colour?
Post by: Khris on Wed 02/02/2005 13:08:13
You can change the color in the character editor, too.

It's in the right column, Talking colour:Ã,  Ã,  Ã,  [Ã,  Ã,  Ã,  Ã,  Ã, ]
Title: Re: Is it possible to change font colour?
Post by: Ishmael on Wed 02/02/2005 13:15:55
Quote from: khrismuc on Wed 02/02/2005 13:08:13
You can change the color in the character editor, too.

It's in the right column, Talking colour:Ã,  Ã,  Ã,  [Ã,  Ã,  Ã,  Ã,  Ã, ]


Yeah, but you can't do that in runtime.