The Game of Life Tutorial - Need help I am lost!
by Adrian Banninga · in Torque Game Builder · 08/15/2011 (11:40 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
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
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
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.
#2
08/15/2011 (6:35 pm)
@John Colgrove, Yes, that's right. Look in the game/data/levels folder, then open up the ".t2d" file (that's your level) in your code editor of choice (Notepad, Notepad++, Torsion, etc.)
Torque Owner John Colgrove
It should be located where you set up your workplace.
For me it's C:\Users\Arcadia\Documents\MyGames\Breakout\game\data\levels
Maybe someone else can confirm this.