Game Development Community

Game title

by Very Interactive Person · in Torque Game Builder · 01/12/2007 (11:28 am) · 3 replies

When I build my game, I'm seeing "TGB" instead of the name of my game as the title in the title bar. Anyone who knows where I can change that? Can't seem to find it.
Thanks

#1
01/12/2007 (12:42 pm)
You can change it in common/gameScripts/common.cs where it calls initializeCanvas(). If you don't want to change it there, you can still call the SetCanvasTitle() script method after the canvas is created, but it will flicker as TGB for a second first.
#2
01/12/2007 (3:01 pm)
Great, thanks!
#3
01/13/2007 (1:58 am)
InitializeCanvas() funnily even works if you call it in game.cs in startGame ... thats what I'm doing currently. (I mean without removing it from the file mentioned above)