Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Mon 18/08/2003 18:40:26

Title: help with overlays
Post by: on Mon 18/08/2003 18:40:26
I have a book-background with quite a lot of text, for which I need ten text overlays.
Is there a way to get rid of them all at once, or do I need to assign an int for each and one of them?
That'd be pretty awkward, since I want a new bulk of text appearing after one click on a certain area. That would preferably erase the old text and present ten new text-overlays.
If I had to use individual ints, it would result in thirty ints after just three pages.

Any suggestions?
Title: Re:help with overlays
Post by: Ishmael on Mon 18/08/2003 20:18:01
Use one transpearent GUI, with a label on it, and se the label's text to the page text... then you can just set the text with SetLabelText(...)
Title: Re:help with overlays
Post by: on Tue 19/08/2003 09:53:52
Thanks, I'll try that....
I guess the slowdown won't matter as long as you're just reading a book anyway...
Title: Re:help with overlays
Post by: Ishmael on Tue 19/08/2003 11:40:56
Slowdown..? Ovelays do AFAIK sometimes cause slowdown, but GUIs with labels dont... or?
Title: Re:help with overlays
Post by: on Thu 21/08/2003 17:23:36
No, of course not, I had something completely else in mind. forget about it :)