Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: ahadHaYam on Sat 25/09/2004 09:57:26

Title: displaySpeech over GUI
Post by: ahadHaYam on Sat 25/09/2004 09:57:26
Hello.

im using displaySpeech function as part of my GUI that is similar to lucasarts.
The problem is that when the player opens the inventory box(as in monkey island 3) and i look at object, the text is drawn behind the GUI, and i want it over the GUI.

How can i do that?

Thank you.
Title: Re: displaySpeech over GUI
Post by: Ashen on Sat 25/09/2004 13:40:41
You can't, yet - but it's on CJ's list.
I think you'll have to use DisplaySpeechAt () to set the speech away from the GUI, or use a Label on the GUI, confiured to look like speech (font, talking colour, etc).
Title: Re: displaySpeech over GUI
Post by: Goot on Sat 25/09/2004 20:59:20
You could make it so whenever speech is displayed, the GUI turns off and then turns back on after the speech finishes.
Title: Re: displaySpeech over GUI
Post by: TerranRich on Sun 26/09/2004 01:54:18
That's what I would do, and it doesn't look too bad. Turning the GUI off when talking, that is.
Title: Re: displaySpeech over GUI
Post by: ahadHaYam on Sun 26/09/2004 17:25:27
Thank you all.

I did a label object in the gui,
and i animated the character using SetCharacterFrame
and it is very good.

its not too hard, but there was again problem with SetCharacterFrame(discussed earlier in the forum)
that i needed to avoid.