Game Development Community

Hello world using torque

by Ironbelly Studios · in Torque Game Engine · 02/15/2005 (2:23 am) · 1 replies

I am an absolute newbie to torque engine. I have purchased the engine and want to show "hello world" on a window using torque. Can somebody guide me please.

bye

#1
02/15/2005 (2:38 am)
Pick up the 3D Programming All In One Book it goes through the routine. It's not quite as straight forward in terms of running the actual code as type it an IDE and compile but here goes.

Basically:

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

Save it as HelloWorld.cs

Then go to the Start menu (Windows) and choose Run and type command and then type cd C:\Torque (or whatever) and then tge -whateverfolder HelloWorld.cs