Page 1 of 1

Making Cursors

PostPosted: Mon Jul 30, 2007 3:49 am
by arcreamer
hey guys, how do i make a picture, my cursor in my game?

PostPosted: Mon Jul 30, 2007 1:56 pm
by Jay S.
You can draw your cursors like normal animations. Then, in some event (Mouse Enter or Mouse Leave is good), choose the Change Cursor event. Then on the Change Cursor window, you can click the File button to browse for your image. The HotSpot X and HotSpot Y determine which part of the image the "hotspot" will be; the actual place where the mouse moves on the image and mouse clicks will be.

I don't know if this has been fixed in newer versions of GE, but I noticed when you load a game then load another, when you have a Change Cursor event, the game crashes. :( Maybe someone can clear the air on this a bit... I don't use this method (I have the cursor be an actual actor that follows the mouse.) This also works good when you want to totally replace GE's default cursor.

PostPosted: Tue Jul 31, 2007 11:21 am
by arcreamer
i cant figure it out

PostPosted: Tue Jul 31, 2007 12:57 pm
by arcreamer
ugh

PostPosted: Tue Jul 31, 2007 1:26 pm
by Freddy
Make an actor, and in the draw actor click change cursor. Choose the animation you want from the file button. The hotspot is where the mouse will change. Like for example in a menu, the cursor would change to a hand when you go to press a button. Hope thats what you want :)

PostPosted: Tue Jul 31, 2007 3:13 pm
by arcreamer
thanks man!