Can't even get through a tutorial.
by Sixty-Ten · in Game Design and Creative Issues · 01/29/2010 (4:24 pm) · 3 replies
Hey there. I've been trying to get the hang of TGB for a while now, but I can never get a project off teh ground. As soon as I have to add a script it falls to pieces. I know a bit of Java, so I know enough theory to understand the script, and I've even copy, pasted some tutorials so I know It's not the code itself. Everything is in the right place, but it either doesn't show up in Torque, or it just doesn't execute. I assume it's because I have never been asked or told to compile anything. I just wright the .cs file and put it in the directory.
I am at a loss, I have no idea what I need to do. I've gone through the set up C++ studio tutorial, I have a copy of Torsion etc. but I have no idea how to compile for TGB.
I hop ethis is making sense. I just want TGB to work, I would much rather spend my time making a game, not trying to get the engine to work.
PLease help if you can. It's driving me crazy.
I am at a loss, I have no idea what I need to do. I've gone through the set up C++ studio tutorial, I have a copy of Torsion etc. but I have no idea how to compile for TGB.
I hop ethis is making sense. I just want TGB to work, I would much rather spend my time making a game, not trying to get the engine to work.
PLease help if you can. It's driving me crazy.
#2
01/29/2010 (5:11 pm)
I made the behavior file, MovementBehavior.cs ,put it in the behaviors directory, and reloaded the project, but when I go to the edit menue, behaviors, the dropdown menu is empty. It can't find the MovementBehaviors.cs file.
#3
Exec is a command in torquescript that tells the game to compile another file. Go look it up, I bet that's where you're having trouble.
03/14/2010 (12:41 am)
Just be aware that some of the tutorials from TGB don't actually.. Work. Sad but true. As for C++ and compiling and all that. UNLESS You're changing the source C++ code, you don't need to compile anything. As for ADDING a script. Whenever you ADD a script file you MUST Exec it in some other file.Exec is a command in torquescript that tells the game to compile another file. Go look it up, I bet that's where you're having trouble.
Employee Michael Perry
ZombieShortbus