Making Cursors

Non-platform specific questions.

Making Cursors

Postby arcreamer » Mon Jul 30, 2007 3:49 am

hey guys, how do i make a picture, my cursor in my game?
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby Jay S. » Mon Jul 30, 2007 1:56 pm

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.
User avatar
Jay S.
 
Posts: 118
Joined: Thu Apr 26, 2007 6:51 pm
Location: My computer desk. :P
Score: 9 Give a positive score

Postby arcreamer » Tue Jul 31, 2007 11:21 am

i cant figure it out
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby arcreamer » Tue Jul 31, 2007 12:57 pm

ugh
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby Freddy » Tue Jul 31, 2007 1:26 pm

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 :)
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Postby arcreamer » Tue Jul 31, 2007 3:13 pm

thanks man!
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest