Game Development Community

Where can I find C++ Torque tutorials?

by Bullitt Sesariza · in Torque Game Engine · 09/26/2007 (1:41 am) · 3 replies

Hi, firstly I wanted to tell you that I'm a C++ programmer. I've been trying to find a Torque tutorial using C++ for making a game from scratch but to no avail. Most of what I found were tutorials using script. I've tried looking at the engine's and demo game's source but got totally confused. The comments are horribly minimal to give any useful info. I've placed many breakpoints to see the flow but still confused because I don't quite know what every line did (only based on my assumption). I've downloaded the Torque Engine Essential Guide but still didn't understand much. BTW, I've just started using Torque a month ago although I had bought it for a year now because I'm still developing a 2D game using SDL. Now, I'm on to a new 3D project thus using Torque again.

Maybe you are wondering why the hell do I need to code in C++ instead of scripting. Well, my current project is not an FPS and the camera will be a bird-eye view one that can only traverse along the Z-plane (no rotation at all, just translation). The input will be using inputs from a serial port, not keyboard and mouse. The translation & rotation of the main character will be based on this serial input so I guess I must make my own input events handler.

Thanks in advance.

#1
09/26/2007 (4:12 am)
You'll certainly want to download the tge source code reference, choose Documentation from the main menu above, torque game engine and you'll find a link for the Torque Source Code Reference
#2
09/26/2007 (2:31 pm)
The best place to start learning the C++ side of Torque (in my opinion) are to check out the various Resources available. For instance, you mention a specific camera configuration. The Advanced Camera resource is one example of a resource that takes you step by step through the process of implementing the code. Most resources do a good job of explaining what is happening, and if not, the comments are usually very helpful.

Hope this gets you on the right foot!
#3
09/26/2007 (8:36 pm)
Thanks guys. I've read the TGE Reference and understand more but still not enough. I've also looked at the resources for coders. I guess it's a good starting point. I'll try to research more on this. BTW, another question. How long do you think a person can understand the whole source code of Torque? Seeing that Torque is so huge, I'm a bit pessimistic that I can learn it in the short time frame for my current project.