Question about platform scroller tutorial
by Daniel Horton · in Torque Game Builder · 05/02/2006 (10:13 am) · 3 replies
Hello there,
First, let me say that after many frustrations with TGE (i ain't no programmer, see), I have purchased T2D and to my pleasent surprise I understand it. My experience with programming is limited to actionscript and with such a small foundation to work off of I can honestly say that someone is doing something right with T2D. The tutorials are extremely easy to follow and after months and months of getting nowhere I find myself forming ideas and ACTUALLY understanding the basics behind how to implement them. Anyhow, just wanted to say thanks to everyone. On to my question.
The platform tutorial makes reference in the beginning pages to the T2D\gamescripts directory and says I should find that it contains 5 folders and 6 files. My directory only has game.cs and the accompanying .dso file in it. The tutorial says it's working off of version 1.1, which is what I have, so I'm confused. Does this start where another tutorial left off? Have I made a mistake somewhere?
Any help would be, as always, greatly appreciated.
-Daniel.
First, let me say that after many frustrations with TGE (i ain't no programmer, see), I have purchased T2D and to my pleasent surprise I understand it. My experience with programming is limited to actionscript and with such a small foundation to work off of I can honestly say that someone is doing something right with T2D. The tutorials are extremely easy to follow and after months and months of getting nowhere I find myself forming ideas and ACTUALLY understanding the basics behind how to implement them. Anyhow, just wanted to say thanks to everyone. On to my question.
The platform tutorial makes reference in the beginning pages to the T2D\gamescripts directory and says I should find that it contains 5 folders and 6 files. My directory only has game.cs and the accompanying .dso file in it. The tutorial says it's working off of version 1.1, which is what I have, so I'm confused. Does this start where another tutorial left off? Have I made a mistake somewhere?
Any help would be, as always, greatly appreciated.
-Daniel.
#2
For example, initializeT2D.cs no longer exists. Even the predefined functions in game.cs have been altered quite a bit to take into account the concept of loading levels via the level builder - something that really didn't exist or was properly fleshed out at the time the tutorial was updated.
If you feel slightly comfortable reading script now, try to understand what main.cs (initializeProject function) and game.cs (startGame function) are doing when you start TGB. It might help in trying to figure out where to place function calls. If I get more time later and you still need help, I can try to write up a quick script for that first section.
05/02/2006 (11:46 am)
Actually, looking through the first tutorial (Platformer Physics), there are quite a few things out of date with it. I think if you try to follow it without knowing the history of what each TGB/T2D release was, it's going to be real confusing.For example, initializeT2D.cs no longer exists. Even the predefined functions in game.cs have been altered quite a bit to take into account the concept of loading levels via the level builder - something that really didn't exist or was properly fleshed out at the time the tutorial was updated.
If you feel slightly comfortable reading script now, try to understand what main.cs (initializeProject function) and game.cs (startGame function) are doing when you start TGB. It might help in trying to figure out where to place function calls. If I get more time later and you still need help, I can try to write up a quick script for that first section.
#3
-daniel.
05/02/2006 (1:18 pm)
Thanks so much. I'm gonna go through it tonight and see what I can accomplish. With any luck I won't run into any crippling problems, but I'm sure I'll find myself back here before too terribly long. Thanks again.-daniel.
Associate Mike Lilligreen
Retired T2Der
Although we are all using version 1.1, there have been significant changes to the structure and layout of files and folders with each alpha/beta release.
Starting off from the games folder:
Games.cs - in the T2D/gamesScripts folder
datablock.cs - in the T2D/managed folder
sampleDatablocks.cs - does not exist anymore
mainScreenGui.gui - in the T2D/gui folder
default/pref.cs - now in the common/preferences folder
art assets - default is to place them in the T2D/data/images folder.
Note if you create a new project in the level builder, just replace the "T2D"s you see above with your new project name.