Change mouse cursor image
by Michael S · in Torque Game Builder · 01/03/2008 (3:10 am) · 3 replies
Is there any function to change our mouse cursor image ?
I look on the TGB Reference pdf but i don't find it
Thx
I look on the TGB Reference pdf but i don't find it
Thx
#2
01/03/2008 (7:46 pm)
Thanks for the reply jason ^^
#3
" 1. new GuiCursor(CustomCursor)
2. {
3. hotSpot = "1 1"; // Set this to the X/Y coordinate of where you want the hotspot
4. bitmapName = "~/client/images/crossHair";
5. };
6.
7. Canvas.setCursor(CustomCursor); "
Go into the gui profile?
05/18/2010 (10:54 am)
Does this code " 1. new GuiCursor(CustomCursor)
2. {
3. hotSpot = "1 1"; // Set this to the X/Y coordinate of where you want the hotspot
4. bitmapName = "~/client/images/crossHair";
5. };
6.
7. Canvas.setCursor(CustomCursor); "
Go into the gui profile?
Torque 3D Owner Jason Ravencroft
new GuiCursor(CustomCursor) { hotSpot = "1 1"; // Set this to the X/Y coordinate of where you want the hotspot bitmapName = "~/client/images/crossHair"; }; Canvas.setCursor(CustomCursor);Thanks go to Harold Brown for it.
www.garagegames.com/mg/forums/result.thread.php?qt=26952