Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Wed 04/06/2003 21:19:20

Title: different coloured global messages
Post by: on Wed 04/06/2003 21:19:20
How do i get the global messages to be a different colour like in Pleurghburg:Dark ages?

<marquee>And does html work in this forum?</marquee>
Title: Re:different coloured global messages
Post by: Archangel (aka SoupDragon) on Wed 04/06/2003 21:20:46
Quote from: BenZB on Wed 04/06/2003 21:19:20
<marquee>And does html work in this forum?</marquee>

Even if it did, why would you annoy everyone with a marquee on your first ever post? WHY????

j/k
Title: Re:different coloured global messages
Post by: Jimi on Wed 04/06/2003 21:24:43
Marquee's suck.
Title: Re:different coloured global messages
Post by: on Wed 04/06/2003 21:27:17
marquees & carrots RULE!!!
Title: Re:different coloured global messages
Post by: Scorpiorus on Wed 04/06/2003 21:37:24
hey guys it's a technical ;)

As about the original question you have to create a customized text window.
"To set the text colour in the window, simply set the Foreground Colour of the GUI and that will be used to print the message text in." - AGS manual

EDIT: also SetLabelColor() function may comw in handy.

-Cheers
Title: Re:different coloured global messages
Post by: on Thu 05/06/2003 17:48:08
thanx 4 the help but 1 problem:

Iv got it so global messages come up in a little red box (a red coloured blank GUI) but for some reason it is surrounded by the walk button.
Is this just happening to me? How can i stop it? Why does it do this?

thanx
Title: Re:different coloured global messages
Post by: Scorpiorus on Thu 05/06/2003 19:00:36
When you have converted a GUI to the text window the AGS editor places eight buttons along the GUI's edges. They are to assign the graphic images which are surrounding the text window's border while disaplaying a message. Somehow you got these buttons to have the walk button sprite. Just open GUI editor and replace all the button's images with those you need.

-Cheers
Title: Re:different coloured global messages
Post by: on Thu 05/06/2003 19:44:27
Yay! Got it to work propelry thanx 4 the help.

And i found out how to do marquees!