Game Development Community

Beginner Question

by Sean Garrett · in Technical Issues · 02/11/2008 (4:46 pm) · 4 replies

I've gone through and done most of the tutorials provided in the documentation for Torque Game Builder and was just wondering what language it actually uses. My first instinct was C# because of the .cs extension, however it seems quite similar to C++. I'm not that advanced of a programmer, however if it turns out that it does just use modified C++ it would make everything infinitely easier.

So yes, if anyone could clear that up for me, or point me in the direction of some tutorial(s?) which give help with actual coding and less "Oh, I can just modify that script from Whack-a-Mole to make this work".

About the author

Recent Threads


#1
02/11/2008 (5:12 pm)
The TGB Engine is written in C++, and the source code is provided with the Pro license.

The .cs files are "Torque Script" files, and are "compiled" by the engine.

Torque Script is unique to GG game engines, and the language syntax is used in TGE, TGEA, and TGB.

Edit:
Here's a good starting link: www.garagegames.com/developer/torque/t2d
#2
02/14/2008 (12:11 am)
But torqueScript closely resembles C#? At least so i heard, personaly, i think it looks alot like php =)
#3
02/14/2008 (7:47 am)
It is a c-styled language so it will have a lot of commonality with other c-styled languages. Personally, it feels a bit like Perl to me.
#4
02/14/2008 (12:47 pm)
How does it work with torqueScript and intermediate objects? Is there anything like a stringBuffer?
I guess that torqueScript would have to create intermediate objects when adding strings, but how does it handle addition of integers?