Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: TheFlayer on Sun 07/01/2007 15:37:46

Title: Cursor
Post by: TheFlayer on Sun 07/01/2007 15:37:46
I have this problem. In the title screen the cursor is set on "examine", the eye, but I'd like to show an arrow. How can I set it up?

(My title screen is a GUI).

Thanx.
Title: Re: Cursor
Post by: Akatosh on Sun 07/01/2007 15:46:12
mouse.UseModeGraphic(eModePointer);

That's about as easy as it gets  ;D
Title: Re: Cursor
Post by: Ashen on Sun 07/01/2007 15:49:43
Beaten to it, but here goes anyway:
Please, read the manual. 90% of the questions you've asked are answered right in there.

Mouse.UseModeGraphic (http://www.adventuregamestudio.co.uk/manual/Mouse.UseModeGraphic.htm) can be used to change the graphic of the current mode to anothers (e.g. Mouse.UseModeGraphic(eModePointer);[/url]. Mouse.ChangeModeGraphic (http://www.adventuregamestudio.co.uk/manual/Mouse.ChangeModeGraphic.htm) can be used to change any mode's graphic to any sprite from the sprite editor - it's perminant, though, so be sure to change it back when you're done.

Using one of these in the 'Player enters room' interaction for the first room (or where ever you turn on the Title screen GUI, if there's something else - like a splash screen - first) should do the trick.