Tutorial Error/Incorrect
by HatHead Rickenbacker · in General Discussion · 01/09/2008 (9:49 am) · 3 replies
Hello, I am excited to work through the Torque tutorial and start to learn how to develop on this platform.
Just a note, the very first thing the tutorial asks me to do:
***
We won't go into the details of the script here, but if you look near the top of the file there's a line that says '$defaultGame = "tutorial.base";'. That line (combined with a couple others later in the file) tells the Torque engine where to look for the rest of our game files. Change the defaultGame line to say "GameOne" instead of "tutorial.base" and then save the script file. Note that defaultGame is case sensitive, so be sure to capitalize 'Game' and 'One'. When you run torqueDemo now, it will know to look for all resources in the GameOne folder.
***
But $defaultGame does not exist in the main.cs file whatsoever.
Is this a problem or should I put it in? I don't see this variable being referenced anywhere else in the main.cs file.
Thanks for any help!
Just a note, the very first thing the tutorial asks me to do:
***
We won't go into the details of the script here, but if you look near the top of the file there's a line that says '$defaultGame = "tutorial.base";'. That line (combined with a couple others later in the file) tells the Torque engine where to look for the rest of our game files. Change the defaultGame line to say "GameOne" instead of "tutorial.base" and then save the script file. Note that defaultGame is case sensitive, so be sure to capitalize 'Game' and 'One'. When you run torqueDemo now, it will know to look for all resources in the GameOne folder.
***
But $defaultGame does not exist in the main.cs file whatsoever.
Is this a problem or should I put it in? I don't see this variable being referenced anywhere else in the main.cs file.
Thanks for any help!
Associate David Montgomery-Blake
David MontgomeryBlake