Game Development Community

The Game of Life Tutorial - Need help I am lost!

by Adrian Banninga · in iTorque 2D · 08/15/2011 (11:24 am) · 2 replies

I am trying to do the "Game of Life" tutorial but am stuck at the first step in Getting Started, the second paragraph:

tdn.garagegames.com/wiki/TGB/Tutorials/The_Game_of_Life

Quote:
We will be defining a Torque class named CaGame for the Torque script. Edit the level file just created with your favorite editor (we use Torsion), add a parameter named CaGame to the t2dSceneGraph instantiation as in


%levelContent = new t2dSceneGraph(CaGame)Then change the camera size parameters to

cameraSize = "64 96";


Edit the level file - But what level file is that? Where do I find it?

I am new to game programming and am doing as many tutorials as I can find to get to know TGB and learn to think in gaming programming terms ( I am a mainframe programmer).

I will appreciate any help.

Thanks



- This may be the wrong forum - posting under TGB

About the author

Entrepreneur, founder and co-founder of various businesses, with experience gained over 10 years of involvement in the industry with an understanding of client expectations, developer pitfalls and award winning portfolio.


#1
08/15/2011 (11:45 am)
the tutorial is referring to the level file that you just saved before closing out the editor. the default location for this is

C:\Users\User Name\Documents\MyGames\GameName\game\data\levels

then just open the file in that folder in Torsion or Visual Studio
#2
08/15/2011 (12:02 pm)
ahhh ok - I thought you could not edit the file because it is a .t2d not .cs

Ohh well back to learning some more

Thanks :)