Getting started tutorial - Problems ( TGE 1.5)
by Mads Laumann · in Torque Developer Network · 11/16/2006 (12:10 pm) · 3 replies
Hi
I have just brought this engine, and i am doing the Getting started tutorial as the first thing. But i am running into trouble...
WHen i get to the part where i need to put the GuiTextCtrl ScoreCounter on the playGui.gui it goes wrong. After i have placed this GuiTextCtrl, when i go into the game, i got a mouse cursor, which i normally dont have then i play the game, and i cant move the head of my char. I cant look around and steer my char, not even if i right click.
Even if i try to remove this guiTextCtrl again, it doesnt work. I have to take the client/ui folder from tutorial.base and put it into GameOne/client/ so it gets overriden. Then it work again.
Any ideas?
PS: It this the right place to post things like this? Is this the closed forum ?
Hope you can help me.
I have just brought this engine, and i am doing the Getting started tutorial as the first thing. But i am running into trouble...
WHen i get to the part where i need to put the GuiTextCtrl ScoreCounter on the playGui.gui it goes wrong. After i have placed this GuiTextCtrl, when i go into the game, i got a mouse cursor, which i normally dont have then i play the game, and i cant move the head of my char. I cant look around and steer my char, not even if i right click.
Even if i try to remove this guiTextCtrl again, it doesnt work. I have to take the client/ui folder from tutorial.base and put it into GameOne/client/ so it gets overriden. Then it work again.
Any ideas?
PS: It this the right place to post things like this? Is this the closed forum ?
Hope you can help me.
About the author
#2
11/30/2006 (11:44 am)
I am getting the exact same problem, and it is driving me crazy. By process of elimination I have noticed that the problem only surfaces when, I save over Torque\SDK\example\GameOne\client\ui\playGui.gui. I made a backup and am able to exchange them, and make mouse-look turn on and off depending on which one is loaded.
#3
A solution is posted here: www.garagegames.com/mg/forums/result.thread.php?qt=54116
11/30/2006 (11:57 am)
Eureka!A solution is posted here: www.garagegames.com/mg/forums/result.thread.php?qt=54116
Torque Owner Mads Laumann
I start the game with this function, which is provided by GG:
function loadMyMission() { // make sure we are not connected to a server already disconnect(); // Create the server and load the mission createServer("SinglePlayer", expandFilename("./data/missions/gameonemission.mis")); // Make a local connection %conn = new GameConnection(ServerConnection); RootGroup.add(ServerConnection); %conn.setConnectArgs("Player"); %conn.setJoinPassword("None"); %conn.connectLocal(); }