Mouse Cursor issues (hotspot?)

Game Editor comments and discussion.

Mouse Cursor issues (hotspot?)

Postby d-soldier » Tue Apr 24, 2007 6:04 pm

So I changed my mouse cursor in game to a cool rotating target (bullseye) thing... Because the default mouse cursor's hotspot is the upperleft corner point, of crouse the clicking/shooting is off with my new cursor which uses the image center for it's hotspot... should be a simple fix adjusting the obvious blank spots that say "hotspot x/y" in the change cursor event, right? ... I have thrown all kinds of numbers (both + & -) in those slots and it has had NO effect on where the hotspot is in game... Anyone had experience with this before?
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

...

Postby d-soldier » Tue Apr 24, 2007 6:09 pm

Figured it out!
.. Apparently GE loads the mousecursor actor differently... I noticed when I tried to adjust my changecursor event by using different pics, GE was still using the previous image. I overided the previous image with my new image, GE would not update... So naturally I clicked on FILE - LOAD (mygame) to refresh it, no change still... Once I quit GE completely and restarted it, the change took effect, and same goes with the hotspot coordinates.. Is this a bug? (wrong section for this probably)
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby makslane » Tue Apr 24, 2007 7:03 pm

Can you send me a simple game thats show the problem?
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

problem

Postby d-soldier » Tue Apr 24, 2007 7:08 pm

It's not an ingame problem...
Load any game up, select your "view" and add a create-actor event of "change cursor". In the Change Cursor box, select and image to be the mouse cursor, and click okay. Now switch to game mode and play. Exit game mode and select your view actor again, click "edit event" / "change cursor" and try to change the mouse image to something else... when you do, and switch to GameMode again, it will not have changed, unless you save the game, and exit GE, start GE again, and load game. Does that make sense?
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby makslane » Wed Apr 25, 2007 7:44 pm

Solved in the 1.3.7 version!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron