Game Development Community

Cursor doesn't work properly

by Marc Ilgen · in Torque Game Builder · 03/30/2005 (6:25 pm) · 1 replies

In windowed mode, when you suddenly remove the cursor from the window, the T2D cursor is still displayed in the window. That means that the user can see both a nonusable T2D cursor in the T2D app window, plus the normal windows cursor (the one that responds to mouse movements) outside the window.

Wouldn't it be much better to have the T2D cursor be invisible until the user brings the normal windows cursor back into the T2D app window?

#1
03/30/2005 (7:27 pm)
Well, you could implement it in TorqueScript. Just make it invisible when it approaches the the camera bounds or something along those lines. That's what I'd do, but I'm no programmer.

I figure that in a game, if the mouse is visible, the player will be using it to play the game and will want to know where the mouse is in the game even if their actual mouse is outside the game window.