Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Necro on Wed 23/07/2003 00:11:22

Title: GUI Label vs Text Overlay
Post by: Necro on Wed 23/07/2003 00:11:22
Recently I made a bit 'o script to position a bit of text near your mouse cursor to tell you what you are mouse overing...

My first thought was to do a GUI with an @Overhotspot@ label... so off I went.

Also RobertEric came up with a similar script in size to do it the Text Overlay way.

Both ways worked, but the Text Overlay doesnt Overlay any GUI's on screen,
whereas if you used the GUI @Overhotspot@ way it would (that is if your GUI was a higher number than the ones you wanted to overlay).

Which way takes less resource out of a game? positioning a transparent GUI with a text label or a text overlay??

Will there be an option for text overlay to Overlay GUI's in the future??

P.S. (if anyone is interested in the code msg me)
Title: Re:GUI Label vs Text Overlay
Post by: Pumaman on Fri 25/07/2003 13:20:58
The difference is negligable, though for ease of use I'd probably choose the GUI, as it's simpler to deal with than a text overlay.

Proper z-order support for GUIs and overlays is on my to-do list, yes :)