Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Moresco on Mon 08/09/2003 01:31:42

Title: Display Message GUI with the cups...
Post by: Moresco on Mon 08/09/2003 01:31:42
Ok so I made my own DisplayMessage GUI(it's got the cups in it & a dark-purple background).  Ok so first of all, how exactly do I place a different object than the cups in it?  Yah I did edit the background image of the object already, but that's not what I really am after(though it looks alright).  What I do want, is a pattern for the background that will expand when the message does.  

Example:
I put a background in the middle, and it displayed in the top-left corner and I couldn't see very much of it cuz the message was small.  Then, after I made a larger message, it was the same size, yet I could see all of it & some blank space of dark-purple background.  

So what am I missing?  I scanned through the manual quite awhile & couldn't find the solution.  Did I miss it? Thanks for your help!

EDIT: Also, I am capable of doing it in a script if need be, thanks.
Title: Re:Display Message GUI with the cups...
Post by: Ishmael on Mon 08/09/2003 05:14:02
It is there, in "Other Features" -> "Edidting the GUIs" -> "Customized Text Windows"... There's a load of text, and the second last paragraph tells this:

QuoteYou can also set a background picture for the text window. In the GUI editor, simply set a background picture for the GUI element. The graphic you specify will not be tiled or stretched in the game; however, it will be clipped to fit the window. You should use a graphic of at least about 250x80 pixels to make sure that it fills up the whole window.

;)
Title: Re:Display Message GUI with the cups...
Post by: Moresco on Mon 08/09/2003 05:37:44
Ah thank you thank you! Your eyes are smarter than mine, I searched and searched & never saw it.  Thanks again! ^^