TGE class library documentation
by Sprintf · in Technical Issues · 11/08/2005 (4:50 pm) · 3 replies
Hi all,
i'd like to take a look at the TGE class hierarchy and wondered if i could browse anywhere before i purchase the license?
also, must TGE app be created exclusively using the tge script or is it possible to use the TGE library and write whole client code(tge app) in pure c++?
thx in advance
i'd like to take a look at the TGE class hierarchy and wondered if i could browse anywhere before i purchase the license?
also, must TGE app be created exclusively using the tge script or is it possible to use the TGE library and write whole client code(tge app) in pure c++?
thx in advance
#2
it had definitions of some of the terms used in torque script, like datablock and the syntax of the language
11/08/2005 (5:15 pm)
Thx for your comment, much appreciated. so, are all torque games written torque script? i remeber reading an artical for torque script beginners but i forgot where it was. could you post the link for it?it had definitions of some of the terms used in torque script, like datablock and the syntax of the language
#3
There are some good scripting docs linked at the bottom of that article.
Pretty much every Torque game yet released (and in progress) has had some amount of TorqueScript in them. Some rely on it more heavily than others. Torque games are a mixture of C++ and TorqueScript with the high precision, fast paced stuff in C++ and the logic wiring it all together into gameplay in script (and anything you want tweakable by an artist or designer).
11/08/2005 (5:35 pm)
FAQ: Do I have to use script? Can I code completely in C++ in Torque?There are some good scripting docs linked at the bottom of that article.
Pretty much every Torque game yet released (and in progress) has had some amount of TorqueScript in them. Some rely on it more heavily than others. Torque games are a mixture of C++ and TorqueScript with the high precision, fast paced stuff in C++ and the logic wiring it all together into gameplay in script (and anything you want tweakable by an artist or designer).
Associate Matt Fairfax
PopCap
You get the full C++ source code for the engine so you can definitely work in C++. However, Torque is an integrated game engine and you can not use it as a library linked into an external application. You build your game on top of the existing structure. This is how the other proffessional engine likes Unreal, Quake, Gamebryo, Source, and Lithtech all work. While it is possible to write everything in C++, you are looking at nearly a years worth of work to get to that point (converting existing scripts, data, and functionality to C++). Learning to use TorqueScript if you are a competent C++ coder is trivial and will make life much easier on you and your team.