Game Development Community

Console and cursor bug.

by Chris "Dark" Evans · in Torque Game Engine · 10/16/2001 (5:10 pm) · 3 replies

This just started happening to me right after I added a verticle energy bar and verticle mana bar, I tweaked the healthbar to be verticle also.

I go in a mission, hit the console button, type some things in to drop me from high in the air so I can test the damage. When I press the console button again to leave the console the cursor gets stuck on, so I can't move anywhere.

The only way to get rid of it was to type:

schedule(1000,0,cursorOff);

in the console and close it within one second. Then the cursor would go away.


I was looking at the toggle console function in the script, I tweaked it to check if the canvas content was the player gui, if it was then hide the cursor when the console toggles off.


What do you think would cause this? Where did you have it check if it should turn the cursor on or off? Is it in the console code, in the engine?


Dark

#1
10/16/2001 (5:22 pm)
Are you using release 1.1? If you aren't you should consider upgrading, some new functions were added to deal with hiding/showing the cursor.
#2
10/16/2001 (9:18 pm)
I upgraded to Dev_Stable again today, it's still doing it.

I'll look into it again.


Dark
#3
10/17/2001 (2:53 am)
thgis happens with me too only when i enter something to the console