Compiling Torque in VS 2008

Started by
4 comments, last by Romocop 15 years, 4 months ago
Hey, Please excuse my noobness in the game creation area, but I am having an extreme amount of trouble figuring out how to use the Torque engine. I just bought the Torque engine source code and the RTS starter kit and don't know where to begin, or what does what. I know I'm supposed to compile it, but what exactly does that do? Does compiling it turn it into a program I can use? I'm just so lost. I have a ton of time off so I wanted to use it to get some knowledge of the Torque engine but all of this is just overwhelming me. Are there any good tutorials out there for someone like me who is not that experienced? I do understand C++ code, I just don't know where to start with the Torque engine. Any info would be greatly appreciated.
Advertisement
If you've purchased it, you should have access to the Torque Developer Network, which has plenty of tutorials to get you started.

Take a look here: http://www.garagegames.com/developer/torque/tge/

"The right, man, in the wrong, place, can make all the dif-fer-rence in the world..." - GMan, Half-Life 2

A blog of my SEGA Megadrive development adventures: http://www.bigevilcorporation.co.uk

Ok so I've tried to compile the engine now and it's giving me this error when I try to build it:

"Failed to open main.cs"
"Failed to initialize game, shutting down"

Anyone have this same problem who can help?
Thanks!
I'm not familiar with Torque, but most engines require you to set up a working directory of some form, with config files and such.

Does the introductory tutorial explain what must be in the project's directory for the engine to start up?

"The right, man, in the wrong, place, can make all the dif-fer-rence in the world..." - GMan, Half-Life 2

A blog of my SEGA Megadrive development adventures: http://www.bigevilcorporation.co.uk

It would be better to ask this on the GarageGames forums as everybody there should be able to answer this question.
I figured it out. If anyone is having this same problem follow this:

Set your working Folder.
Set path for main.cs file.

I am using TGEA 1.03 , my working folder is ../example.
My main.cs file is in example folder.

In VS=>
Project properties->

1. Set configuration drop down list to 'All Configurations'.

2. in Configuration Properties->Debugging->Working Directory
Set path here. (mine was: "../example")

Hope this helps anyone else who had the same problem! And thank you all as well.

This topic is closed to new replies.

Advertisement