The Daily Click ::. Forums ::. Klik Coding Help ::. Replacing Mouse Cursor / Detecting Res?
 

Post Reply  Post Oekaki 
 

Posted By Message

Heart Break Kid



Registered
  13/05/2003
Points
  1754
9th April, 2006 at 06:02:14 -

How can we replace our windows mouse pointer with a cursor of our own? Is there any extension to do it the right way , like simply replacing the windows cursor with a cursor of our own , like it is done in windows for e.g. desktop themes?. Hide Mouse - XMouse - YMouse , method is really stupid. I have to bring the whole cursor on a button to make it work. No proper pointing is detected like that

Secondly can we check whats the current resolution of desktop when the game starts?

Both in TGF


 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
9th April, 2006 at 06:15:04 -

Why do you keep deleting and recreating posts?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Heart Break Kid



Registered
  13/05/2003
Points
  1754
9th April, 2006 at 07:27:21 -

i wanted to edit it , but could'nt then as there were'nt any 'useful' replies i deleted then recreated it


 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
9th April, 2006 at 07:50:05 -

Like that'll get you any help. Perhaps you should host an example file so we know where you screwed up.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

Heart Break Kid



Registered
  13/05/2003
Points
  1754
9th April, 2006 at 08:38:04 -

ok did it myself ... thanks for trying

 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
9th April, 2006 at 09:56:15 -

We really didn't.

 
n/a

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
9th April, 2006 at 10:12:20 -

No need to be so harsh guys

 
This is a signature. Have this one on me.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
9th April, 2006 at 11:27:04 -

Agreed, Flava. Be harsher guys.

 
http://www.klikscene.com

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
9th April, 2006 at 11:37:25 -

Heh

 
This is a signature. Have this one on me.

Heart Break Kid



Registered
  13/05/2003
Points
  1754
10th April, 2006 at 16:12:22 -

ªxel [OHW]u said that!

 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

DarthFALCO



Registered
  05/03/2005
Points
  336
11th April, 2006 at 13:05:29 -

Hey HBK.

I don't know if it's the right way to do it, but the method I use to detect resolution when making screensavers in MMFE (I think it's the same in TGF) is by setting a frame at the start of the APP to check it by using the built in Window Control Object and setting some conditions to check if X-Screen is greater than 1279, 1023, 799 and 639 then jumping to the frame of the correct resolution (1280x1024, 1024x768, 800x600 and 640x480.)

As for the custom Mouse Pointer. I have always used that method you said and it's been good for me. Just make sure that you draw the custom pointer to point to the top left and make sure that the Action Spot and Hot Spot are all set to zeros. When I do this I don't have to place the whole cursor on a button.

Hope this has helped.

Image Edited by the Author.

 
I Dunno?
   

Post Reply



 



Advertisement

Worth A Click