Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: DCillusion on Thu 07/04/2005 19:51:41

Title: Separate Text Box (SOLVED)
Post by: DCillusion on Thu 07/04/2005 19:51:41
Anything going on with separate GUI's for Text & Speech?
Title: Re: Suggestion separate Text Box
Post by: Pumaman on Thu 07/04/2005 20:01:56
Care to clarify what you're asking?
Title: Re: Suggestion separate Text Box
Post by: DCillusion on Thu 07/04/2005 21:07:18
Sorry - where you can have 1 GUI-box for speech & another for standard text.  I was having problems before when I wanted to make King's Quest speech view, (with borders around it), but I wanted a GK view for information, (text displayed under the action with no borders).  AGS allows for 1 modifiable GUI-box that it uses for both.

It was on the "to-do" list before, & I know the Object-Based scripting, obviously, took priority.
Title: Re: Suggestion separate Text Box
Post by: Ashen on Thu 07/04/2005 22:37:42
I might've missed your point, but couldn't you just change between the GUIs using SetTextWindowGUI(gui)?
Title: Re: Suggestion separate Text Box
Post by: DCillusion on Thu 07/04/2005 22:48:32
Am I that stupid.....?

I set my Text window to GUI-X & then my Speech window will be different?
Title: Re: Suggestion separate Text Box
Post by: Ashen on Thu 07/04/2005 22:59:49
Yeah, it still uses the same GUI for Text and Speech, but you can use SetTextWindowGUI() to change between them during gameplay, so it looks like two seperate GUIs. E.g.:

SetTextWindowGUI (4);
DisplaySpeech (EGO, "Hey.");
SetTextWindowGUI (5);
Display ("Hey, yourself.");


(Or create custom functions that change for you)
As I say I might've missed your point but, if not, I doubt allowing seperate GUIs is very high priority, since it's easy enough to work around.
Title: Re: Suggestion separate Text Box
Post by: DCillusion on Fri 08/04/2005 01:26:54
That's the exact answer to my question.  It would be nice to have the windows fully separate, but this will work, thanks
Title: Re: Separate Text Box (SOLVED)
Post by: Pumaman on Fri 08/04/2005 18:07:56
Ah yes I remember what you're asking for now, I really should have implemented this by now, it's rather a glaring omission.
Title: Re: Separate Text Box (SOLVED)
Post by: strazer on Fri 08/04/2005 19:54:13
QuoteIt was on the "to-do" list before, & I know the Object-Based scripting, obviously, took priority.

Hm, which entry is it?
http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=394
http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=444
Title: Re: Separate Text Box (SOLVED)
Post by: Pumaman on Fri 08/04/2005 21:00:49
I'd say BB394.