Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 14/12/2003 14:05:17

Title: " @overhotspot@ " behind the mouse
Post by: on Sun 14/12/2003 14:05:17
If one comes with the mouse over a object or a hotspot, then is the name of the object beside the mouse or object.  How can that be done?
Title: Re:" @overhotspot@ " behind the mouse
Post by: Scorpiorus on Sun 14/12/2003 16:34:54
Make a normal GUI with a label. Set label's text to @OVERHOTSPOT@. Now when ever you move the mouse cursor over a hotspot it's name is shown on the label.

~Cheers
Title: Re:" @overhotspot@ " behind the mouse
Post by: on Sun 14/12/2003 16:57:18
The objectname must be writen next to the Mouse.
Title: Re:" @overhotspot@ " behind the mouse
Post by: Scorpiorus on Sun 14/12/2003 17:06:36
Make that GUI comletely transparent. Then in repeatedly_execute():

SetGUIPosition(GUI, mouse.x+5, mouse.y-5);

~Cheers