Game Development Community

GameOne tutorial mouse problems

by Chris L. Harrington · in Technical Issues · 03/04/2009 (9:05 pm) · 2 replies

Hello,

I have tried doing one of the tutorials but ran into issues. I am using the Torque 1.5 introductory tutorial. I beleive I have followed the tutorial word for word but i have run into a snag.

I created the guitextctrl with text "Score: 0" and giving it relative horz and vert positioning and placed it top left of my game screen. If i save my GUI and then push F10 i can run around with the score on my screen and still look around properly in 1st person and 3rd person perspectives.

However once I exit and enter my game again a mouse cursor will be on my screen (normally the mouse cursor was not visible). and i will be unable to look around with my mouse. Even if I enter into the GUI editor again and remove the guitextctrl that I just created it will not let me look around using my mouse.

Its as if placing that textctrl broke my code irreversably. The only way to get ride of the mouse cursor has been to copy the PlayGui.gui.dso and PlayGui.gui files from tutorial.base and past them over my files in the GameOne directory.

Any ideas? I did the tutorial 2x and received the same result. I

Here is an image of me ingame with the cursor i described:
http://img12.imageshack.us/my.php?image=torqueerror.png

About the author

Recent Threads


#1
03/05/2009 (4:02 pm)
open your playGui.gui

under GameTSCtrl(PlayGui)
it should have noCursor = "1";

If it doesnt, then put it in. This will probably solve your problem.

#2
03/06/2009 (10:19 am)
Ah yes, that worked perfectly! I wonder why that option isn't in one of the form options or at least described in the tutorial.

Thanks a ton, I was about to give up on this :P