Game Development Community

Compiler

by Ryan McKenzie · in Torque Game Builder · 12/08/2006 (1:09 pm) · 3 replies

Quick question. Is there a compiler available to TGB or that can work with it. I'm using a mac so I guess i'll be looking for program compatable.

#1
12/08/2006 (2:21 pm)
Torque isn't like C++ or Java where you need a specific compiler. It compiles itself at run time.

Your source files are .cs and your compiled code is .cs.dso
and you can edit the .cs files in anything. A basic text editor works just fine.
Once you run your game, it will auto-compile the code. No need for a specific program.

So when you are ready to release your game, all you have to do is delete all of the .cs files!
(and disable some editors -- but that's another story for another topic)

EDIT: spelling
#2
12/08/2006 (3:21 pm)
Lets be clear here. TGB Source files are in c++ with .c or .cc extension which compile the tgb .exe, while script files are editable .cs files. As for mac's, I use windows, but the following is directly from the TBG products page
Quote:Compiler: we recommend XCode. Other compilers work, but are unsupported by GarageGames.
Seen here
http://www.garagegames.com/products/62/

John
#3
12/08/2006 (3:29 pm)
XCode should be on the second OS DVD.