Game Development Community

Need help starting a 'new' project outside SDK folder..

by cr · in Torque Game Engine · 02/10/2007 (11:24 am) · 3 replies

Hi,
I have successfully followed the Getting Started tutorial with TGE (1.5) and have had some fun messing around with the editor for some time. But now I am stuck.

I want to start on my own project OUTSIDE the SDK folder. 'My Game Name' folder without any useless stuff inside so I can just have my editor and ability to compile the game and run it outside the default SDK directory. I have only found (kinda) 'how to' hints in some forum threads so far and resources section, but I still have no idea where to get started with this.

I am using VS for this so can anyone please help me with the real 'getting started' part? Thanks.

#1
02/13/2007 (6:34 am)
Welllllll...what problems have you ran into?

You can just grab the game folder and move it to any location on your C:\ drive. The only problems that will crop up is if you have hard coded paths:
shapeBase = "C:/Torque/SDK/example/starter.fps/data/shapes/player.dts"

Where a better solution is: shapeBase = "./player.dts" OR shapeBase = "starter.fps/data/shapes/player.dts"

Outside of that, you shouldn't have a problem moving your game folder out of the SDK directory.
#2
02/13/2007 (7:37 am)
This is what I place into a new folder when I start working on a project:

Common, Creator, starter.fps folder

all of the dll files

deletedso and deleteprefs bat files

main.cs

torquedemo.exe

not sure if they are all needed but it works for me every time so why change. Just remember that if you recompile the engine to add something you either need to tell your compiler to create the exe in your game folder or copy the it in yourself.
#3
02/13/2007 (11:19 am)
Thanks, it works now (I was just trying to copy .fps folders outside with .exe in them).