Game Development Community

Stripping down the example

by Howard Liu · in Torque Game Engine · 09/15/2001 (10:50 pm) · 1 replies

Howdy,

I'm not much of a programmer (most of my, er, experience is with Starsiege scripting), so I thought I'd start out with something easy. My plan is to start with a game built with the GUI editor and some scripting, like card games. War to start, then blackjack or poker, and then maybe find a defunct CCG and try to implement that.

I'd like to be able to strip down the example, though, to speed up the load time and so that I could put it up on my web site. I have a 5MB account from my ISP, about 3.8MB of which is free, and the example is 10.7MB, including 2.8MB taken up by the executable file. I'm guessing that I can hack off most of the 6.8MB taken up by the /data folder, but don't know where to go from there.

Can anyone provide any pointers? Discarding the terrain engine would be a start, maybe the editor, too, but anything anyone could offer would be a help. Thanks in advance.

#1
09/16/2001 (9:09 am)
While I would hate to try and do what you are suggesting and hack almost all the code out a functioning system, I would start by going thru the scripts and following their execution paths. Once you have all the paths down (i.e. who is exec'ing what) then you can cut out those paths that you are notusing in your example.
Then follow the calls backwards from the scripts to the actual engine to see what you don't need there.

As an aside I would copy the example subdirectory someplace I could easily restore back and forth if I missed something. I would leave the subdirectory structure alne until I had cut out everything I wanted for my minimum example. That way I wouldn't have to worry about hardcoded paths messing me up.

Luck