Game Development Community

Window Caption

by Nikos Beck · in Torque Game Builder · 01/27/2010 (6:39 pm) · 1 replies

When TGB is first loaded, it's window caption is "Darkstar Window" (which I'm assuming is a very old working name for the engine. At some point it changes to "TGB". I can change the caption in script but I would rather set the caption on the window when it first becomes visible, set it to the name of my game rather than "TGB".

Any help of where to find that in source would be greatly appreciated. I have been looking but haven't had any luck pinpointing it.

#1
01/28/2010 (6:02 pm)
I found it.

It's in
common/gamescripts/common.cs
. There is a call to
initializeCanvas()
that passes the initial name of the window.