Game Development Community

Build an executable programm

by Arne Hawly · in Torque Game Engine · 01/03/2006 (7:13 am) · 3 replies

Hi,

I have just started with Torque (total Newbie).

I have bought "Microsoft Visual C++ .NET", "Torque" and "3D Game Programming All in One". I was able to build Torque Demo and then I wanted to start to build an executable programm with Visual C++ for the second Chapter in "3D Programming ...", because I do not like the idea just to change the *.cs files.

I created the "main.cs" - file:

funtion main()
{
print("Hello World");
}

and then wanted to build the exe to run Torque. Unfortunately Visual C++ does not want to accept my file and I have no idea how to create and exe.

Can anyone help me?

#1
01/03/2006 (7:54 am)
You're approaching this from the wrong end of the tunnel.
Torque is a Game Engine, already complete with it's main loop function.

If you have no idea how to compile/link an binary, then maybe you should read the docs or wait for someone else to answer that for you.
#2
01/03/2006 (8:16 am)
Oh, ok, sorry. Then I will edit the Demo. Thanks!
#3
01/08/2006 (1:28 am)
Torque is written in C++ - you just tried to compile a script file apparently, which you already are doing by editing script. :)