Game Development Community

Tge 1.5

by Eric S Jordan · in Torque Game Engine · 11/11/2007 (12:23 pm) · 3 replies

Is there any updated book info for the new version of Torque? If not I'll ask my question just in case.

In the book on the part "Setting up your workspace" it states edit your main.cs line #6 from

$defaultGame = "demo";

to

$defaultGame = "prototype";

problem is the new version of torque does not have that at all in the main.cs

Any ideas how to continue?

Thank you

#1
11/11/2007 (12:38 pm)
Are you sure you are looking in the main.cs that is in the root folder? (the one with the exe)

Here's the top of mine: (tge 1.5.2)

//-----------------------------------------------------------------------------
// Torque Game Engine 
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------

$defaultGame = "demo"; //Here is what you need to change
$displayHelp = false;
#2
11/11/2007 (1:08 pm)
Thank you!
I was assuming it was the main.cs since you just copied it from the demo folder in the tge installation directory! That step needs to be more clear.
#3
11/11/2007 (2:17 pm)
You are welcome. I think most people who write programming books expect you (the reader) to know how to code. That's ok tho. All 3 books are great.