Game Development Community

Cannot compile script using Xcode

by Paul Jackson · in Torque Game Builder · 05/16/2006 (6:19 am) · 3 replies

I am new to torque and i have been trying to compile script using Xcode( i have the 2.1 version). I read in the getting started with the compliers that i need to get Xcode to be able to comiple .cs files, but i have no idea how to do it, any help would be great! Oh and are those basic tutorials out of date?

#1
05/16/2006 (6:53 am)
Hi Paul - welcome. XCode is a C/C++/Java compiler. I doesn't know anything about torquescript really. torquescipt is compiled automatically when you run your came. See all the .dso files in your game folders? Those are the byte-compiled files. If you edit a .cs, .t2d. .gui etc file then the T2d engine re-compiles them the next time you run your game. Easy! You can use Xcode and tell it to treat torquescript as c++ they are pretty similar syntactically. Or use a dedicated torquescript editor like Torsion. hope this helps.
#2
05/16/2006 (6:55 am)
But if you are using XCode as an EDITOR, don't need to compile the torquescript. Only if you get into editing the c++ source code to the engine, do you need to compile in Xcode.
#3
05/16/2006 (7:05 am)
Thank you that cleared it up big time !