Game Development Community

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?

About the author

Recent Threads


#1
03/11/2009 (2:51 pm)
A variable is still a variable.
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.
#2
03/11/2009 (3:11 pm)
Great thanks!