Game Development Community

Is iTorque 2d in c# too?

by Jamin adams · in General Discussion · 03/26/2011 (2:00 am) · 4 replies

I just downloaded the Torque demo for mac and have been going through the documentation. I realized that the code is in c# and not objective c (I know objective c but not c#). How is this compatible with xcode? Do I need to learn c# if I get the full version?

About the author

Recent Threads


#1
03/26/2011 (4:13 am)
The code is not in C#. The scripting language is TorqueScript, and most of the native code is in C++. You can write anything you want in Xcode if you have the syntax rules and a build rule for it :)
#2
03/26/2011 (10:00 am)
@Jamin - Check out this documentation: TorqueScript Overview. It's a solid introduction to TorqueScript.
#3
03/26/2011 (10:01 am)
To preempt any confusion, know that you did not download a demo for iTorque 2D. You downloaded the demo for Torque 2D, which is a PC and Mac engine, not iOS.
#4
03/26/2011 (10:12 am)
Don't let the filename extension confuse you! The .cs files you see in Torque are not C#, they're TorqueScript. Both C# and Tribes (the game for which the Torque engine was originally created) were first released in 2001, and by coincidence both teams happened to choose the same .cs extension.