Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: meese72 on Tue 01/03/2011 14:48:19

Title: How do I use overlay with "GUI"?
Post by: meese72 on Tue 01/03/2011 14:48:19
I was wondering how to use overlays so it draws on top of a "GUI"? I've tested it and so far the overlay does not draw on top of a "GUI", just onto the background.
Title: Re: How do I use overlay with "GUI"?
Post by: monkey0506 on Tue 01/03/2011 15:00:43
Unfortunately you can't draw an Overlay on-top of a GUI, but you could just use another GUI with a higher z-order.

Also to be clear, Overlays are drawn on-top of the entire scene (background, characters, and objects) but behind GUIs which are drawn on-top of everything but the mouse cursor.

Oh, and if you needed to use a textual overlay, then just consider using a Label control on the GUI; or for a graphical overlay, just set the GUI.BackgroundGraphic.