Replacing "Torque Game Engine"?
by David Demaree · in Game Design and Creative Issues · 08/24/2006 (7:41 am) · 7 replies
I have noticed that other games using Torque replace the "Torque Game Engine" text in the top left corner of the game window with the name of their game, such as "Marble Blast", but I couldn't find the file where this gets specified. Does anyone know how to change the name of your game for the window? Thanks.
#2
Somehow it's creating the canvas before main.cs, but I don't know the start order of the program or which file commands it to open.
In guiCanvas.cc I found the error message that I was getting, but I think that's too far out. I also found an InitCanvas command, and I think maybe it gets used to Createcanvas, but I really have no idea which file this takes place in yet.
08/24/2006 (9:18 am)
Any idea which main.cs? I'm working with the starter.fps, and whichever main.cs I have checked, this command is not in there. I tried adding it to the main.cs in starter.fps, but I got an error: "CreateCanvas: canvas has already been instantiated". Somehow it's creating the canvas before main.cs, but I don't know the start order of the program or which file commands it to open.
In guiCanvas.cc I found the error message that I was getting, but I think that's too far out. I also found an InitCanvas command, and I think maybe it gets used to Createcanvas, but I really have no idea which file this takes place in yet.
#3
Line 50 says, "initCanvas("whatever-you-want-it-to-say", true)"
You just need to change the obvious "whatever-you-want-it-to-say" part.
08/24/2006 (9:27 am)
Nevermind...I found it. It's in init.cs in Client. Line 50 says, "initCanvas("whatever-you-want-it-to-say", true)"
You just need to change the obvious "whatever-you-want-it-to-say" part.
#4
08/28/2006 (10:46 pm)
Where's "init.cs"? I did a search of the TGB folder & it didn't show up.
#5
09/12/2006 (9:58 am)
Obviously you cant read! They are talking about TGE.
#6
09/12/2006 (10:44 am)
That was a bit harsh and uncalled for. A simple "They are talking about TGE" would have sufficed.
#7
EDIT:
@Neill Silva
...Interesting first post...
09/12/2006 (11:08 am)
The initCanvas stuff is in Games\Common\Gamescripts\canvas.cs in TGB.EDIT:
@Neill Silva
...Interesting first post...
Associate Anthony Rosenbaum