Changing to shape of the cursor
I need to change the shape of the cursor in my game to that of an active object. I am using the cursor object, amd I can get it to change to the crosshair, or other default objects.
When I try to change it to an active object using "set shape from active object" it will not let me choose any of the active objects in my current frame. I get syntax errors when I try to retrieve data.
Re: Changing to shape of the cursor
Don't use that if you want to use active objects. Set the active you want to always be at X and Y of the mouse. Then hide the mouse pointer on start of frame or whenever you want to hide it.
Re: Changing to shape of the cursor
Don't do what Shawn said!! It will look REALLY bad! What you need to do is type in the name of your object. EG if your active object is named Active Object 52, then in the expression editor that comes up, type in "Active Object 52"
Re: Changing to shape of the cursor
It will only look bad if your graphic blows. I use Shawn's method all the time and it works very well.
Stephen1980
Re: Changing to shape of the cursor
But then how are you to see the mouse outside the window? And if you move the mouse onto the tile bar it will still show the mouse using the Mouse Object. Also, it's impossible to get an active object in front of window controls without sub apps! Why go through all that extra code for those little things when the mouse object just uses Windows' built in stuff to do it for you, AND with a mouse trail if the user has it enabled? Seriously, go for the easier way!
Re: Changing to shape of the cursor
If you use the Mouse Object you loose some mouse functions.
Marv
I was thinking Mouse Movement. Sorry.