Game Development Community

Engine Fundamentals.

by James Messina · in Torque Game Engine · 10/06/2003 (10:06 pm) · 1 replies

I am starting to familiarize myself with the torque engine. I am looking for more detailed tutorials / articles on how the scripts and game engine work together. I've read all the documentation and understand all of the fundamentals of the engine and the scripting language. I am currently gutting the latest HEAD release of all the demo code. I want to get it to a bare bones state where I can examine the code / script that is required to get the torque engine up and running in its most basic of states. This is so I can slowly build off of that and better understand the inner workings of the engine rather than building off of the demo code. Any suggestions are extremely welcome. I know there is a wealth of knowledge on this engine, so I'm sure there is some section I may have overlooked outside of the documentations and tutorials (which from my knowledge seem to be on very specific issues). Thanks in advance.

- Jim.

#1
10/07/2003 (4:22 pm)
I just started as well and am trying to get that going, From the head you can get a good start by doing the following:

first compile, then copy the example folder somewhere

delete all subfolders except for common

edit main.cs and set $userMods = "";

start the program with torquedemo.exe -console -windowed

this will get you a very barebones setup

then run initbaseclient();
then initCanvas();

you may also need to pull one of the prefs.cs and execute it
this has the video settings though that didnt seem to work for me.

This is as far as i've gotten, my goal is to get basically to the game starting up on a big flat level with 1 player spawned so i can play from there. I'm having some trouble getting gui stuff working. then again i just started.

Good Luck