C# similarities
by Joakim Andreassen · in General Discussion · 03/11/2009 (2:40 pm) · 2 replies
If I know C#, will torquescript be easier to learn? What are the similarities if any?
by Joakim Andreassen · in General Discussion · 03/11/2009 (2:40 pm) · 2 replies
Torque 3D Owner RealmX
An object is still an object.
A class is more like a TorqueScript datablock.
A function is still a function (though TorqueScript allows a bit more creativity with them).
A method is still a method.
A property is still a property.
So on and so on...
Its a curly bracket language like C#. It works with the the C++ code in the game engine the same way C# works with the ...framework.
There are some small syntax differences that, if you know C#, you will learn relatively easily.