Game Development Community

C++ or C#

by rennie moffat · in General Discussion · 06/14/2009 (8:58 pm) · 2 replies

Hi,
I am a relative newbie and I want to better understand the core language of torque. So I am wondering, I have read that the language (Torque) is very similar to C++, but later today I read it was like C#. So what I am wondering is if I were to buy a book to study up the core basics, which language is more relevant to 2D Torque script language.


thanks,
ren

About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
06/14/2009 (9:01 pm)
The extension for TorqueScript is .cs. This was decided because the language was C-like, C Sscript. C, C++, and C# share similar functionality and syntax.

TorqueScript resembles C++ mostly, but C# can also be beneficial. You might be able to pick up C# faster, but since the core engine itself is built in C++ you could try studying the origins.

In other words, studying any C-like language is going to help with your programming knowledge and TorqueScript.
#2
06/14/2009 (9:30 pm)
ok great.
I have a book on C. and really I am understanding it, just any little help to gather info would be beneficial, thanks.

ren