Game Development Community

Change TGEA mouse cursor

by Andrew Edmonds · in Torque Game Engine Advanced · 04/22/2008 (6:10 am) · 4 replies

Hi there,

I am trying to change the mouse cursor on the startup gui. I created a new GuiCursor and pointed that to my new cursor png, and then used Canvas.setCursor("myNewCursor"); but that didn't change anything.

So then I changed the defaultCursor's bitmapName to my new png, but that did not change anything either.

Am I missing something?

Thanks all.

About the author

Formed in 2005, EiKON Games is an indie games development project based in the UK working on the tactical first person shooter "Epoch: Incursion". See the Join Us or Contact Us pages at http://www.eikon-games.com/


#1
04/22/2008 (12:21 pm)
That's strange. Have you deleted your DSO's? Checked your console log for errors?
#2
04/22/2008 (2:34 pm)
Hi Mark.

I've deleted the DSO's and there's nothing in the console log of interest. The strange thing is it doesn't even use the defaultCursor on a stock 1.7.0 T3D game. I'm running on Vista, and it just uses my system cursor.
#3
04/27/2009 (2:47 am)
Exactly the same problem here , it seems the class GuiCursor ins't active at the moment on TGEA 1.8.1 too... The onRender method is never called..... :(
#4
04/27/2009 (4:00 am)
mmmmmmmmmm it seeems that if you use lockmouse(true) you use the torque mouse, instead , if you use lockmouse(off) you use the windows mouse system... Try lockmouse(true) !!!