Game Development Community

Can't Find Hello World

by Colton Ogden · in Torque Game Engine · 01/01/2007 (2:34 pm) · 1 replies

I'm using a Mac, and the script compiler can't find helloworld.cs, even though it's located in the demo folder with main.cs, which can execute correctly. My mac's fairly new and a G5 with 10.4, I believe, so there shouldn't be any problem with the machine. Does anyone know how I can make the script compiler find helloworld.cs? Thanks.

About the author


#1
03/17/2007 (1:58 pm)
I'm not a Mac user, so i really dont know, but the way you execute files (youprobably already know) is:

exec("3D2E/helloworld.cs")

Then to run the HelloWorld function type:

runHelloWorld();



Hope that helps =P