Help Please - getting started, chapter 2...
by Jeff Thomann · in Torque Game Engine · 12/28/2004 (7:26 pm) · 3 replies
I've didn't install off of the cd that came with the book. I installed the actual torque sdk... Anyways...there's not a file called tge.exe.
After compiling the source, I did end up with a file called torqueDemo.exe. I can get in to the demos and play with them in the editors, but I can't freaking figure out how the @#%@#$ to get HelloWorld.cs to get in to the engine. I've tried using command line
torqueDemo.exe - Helloworld.cs
in the directory putting helloworld in the same directory and using cd to get to the right directory in command prompt... but all that does is kick me in to the fps demo.
I tried making shortcuts and changing target and all sorts of stuff the last 2 hours and am still clueless as to how to get a script to get in to the engine without manually editing a main.cs file in the demo...
F:\GAME_ENGINES\TORQUE\SDK\example\torqueDemo.exe -game HelloWorld.cs
doesn't work either - (uh, btw, that's the folder that I have the torquedemo.exe and HelloWorld.cs file in) all that does is start the engine for a fraction of second and then kill it almost instantly before I can read what it says...
Do I need go back and reinstall from the cd to make the samples in the book work?
Renaming torquedemo.exe tge.exe doesn't seem to work either...
After compiling the source, I did end up with a file called torqueDemo.exe. I can get in to the demos and play with them in the editors, but I can't freaking figure out how the @#%@#$ to get HelloWorld.cs to get in to the engine. I've tried using command line
torqueDemo.exe - Helloworld.cs
in the directory putting helloworld in the same directory and using cd to get to the right directory in command prompt... but all that does is kick me in to the fps demo.
I tried making shortcuts and changing target and all sorts of stuff the last 2 hours and am still clueless as to how to get a script to get in to the engine without manually editing a main.cs file in the demo...
F:\GAME_ENGINES\TORQUE\SDK\example\torqueDemo.exe -game HelloWorld.cs
doesn't work either - (uh, btw, that's the folder that I have the torquedemo.exe and HelloWorld.cs file in) all that does is start the engine for a fraction of second and then kill it almost instantly before I can read what it says...
Do I need go back and reinstall from the cd to make the samples in the book work?
Renaming torquedemo.exe tge.exe doesn't seem to work either...
About the author
#2
Or use the \starter.fps subdirectory and start modifying / creating .cs files here. This is what I did, cause I first tried to make my own minimal game with minimal .cs files, and well, it was just a pain in the ass.
[edit]Thread continues here
12/29/2004 (10:26 pm)
You have to use and edit the \Torque\SDK\example\main.cs. You may change here the $defaultGame = "starter.fps; line to point to your game.Or use the \starter.fps subdirectory and start modifying / creating .cs files here. This is what I did, cause I first tried to make my own minimal game with minimal .cs files, and well, it was just a pain in the ass.
[edit]Thread continues here
#3
12/30/2004 (5:26 am)
Thanks!!! That helps a ton!!!
Torque Owner Jeff Thomann