The Daily Click ::. Forums ::. Klik Coding Help ::. Changing Cursor from scene to scene
 

Post Reply  Post Oekaki 
 

Posted By Message

Rob Sherwood



Registered
  20/02/2010
Points
  5
20th February, 2010 at 14:08:54 -

I need to know how to do the following:
When the player clicks on a button that jumps from one frame to another, I need the need the cursor to change to a reel to reel tape in the new frame. Then when the player clicks the reel to reel tape on an area in the frame the cursor needs to change to a cd, and finally when the cd is clicked on another area, it needs to turn into a sheet of paper, and when that is clicked on an area, the cursor reverts back to the default arrow. How can I do this?
And how can I make it until the cursor reverts back to the default cursor, the played cannot get out of the frame.


 
RSherwood

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
20th February, 2010 at 14:15:26 -

There are two ways to do this. You could use the cursor object, which sets the actual cursor to an image, but that comes with some limitations like size and no alpha channel. () Alternatively, just make an active object with each cursor as a different frame or animation. Always set its X position to XMouse and its Y position to YMouse, and hide the windows cursor under the mouse and keyboard object. Then you can change the animations to suit your needs.

 

  		
  		

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
21st February, 2010 at 03:57:09 -

If you're going to do the second method, as always with setting any object to the X and Y of anything, try to keep these events as low as you can to the end of the loop (bottom of the event editor) so that they occur after everything else.

This virtually eliminates any lag response due to the source position moving after the target object is placed onto it's X and Y.

 
http://www.facebook.com/truediamondgame
   

Post Reply



 



Advertisement

Worth A Click