Cursor hide/show

Jul 15, 2009 at 6:22 PM

Hi, Thanks for this powerful library I'll implement on my FPS :) (http://squareengine.codeplex.com)!!

 

I've one question for you: Is possible hide / show mouse cursor?

 

thanks again

squidleon

Coordinator
Oct 16, 2009 at 10:52 AM

Hi,

Sorry for the delay. It looks like the easiest way would be to make the mouse part of the GUI skin texture blank. You could also do a quick code modification.

Thanks,

cdmac

Coordinator
Oct 16, 2009 at 11:11 AM

Actually, just comment out the following line in Draw() in GUIManager.cs:

 

// Draw mouse cursor last
this.mouseCursor.DrawCursor(gameTime, this.spriteBatch);

;-)