Game Development Community

TorqueLib and TorqueGame projects

by Andreas Papathanasis · in Torque Game Engine · 11/17/2003 (11:33 am) · 1 replies

I started examining the code for the engine tonight (almost two years after bying it, jesus) and it seems promising. I have a basic question to ask, sorry if it's already been answered in the documentation but from a quick look I couldn't find it. What's the deal with two identical (correct me if I'm wrong here) projects, the engine's library and the project that produces the executable for the demo? If I want to create my game, I copy Torque Lib, make the target an exe and just change the code, or am I missing something here? Thanks for any answers.

#1
11/17/2003 (11:46 am)
TorqueLib is a subset of Torque compiled into a static library for use by tools (there are hacks/problems with this) ... Torque's script/persistence mechanism doesn't work from a static library ... so you have another project with all the code fused into an exe...

Torque should be in a shared library, with applications/tools using this... but it's not... so people generally add code to the already huge TorqueDemo project... and if they want to use the code in a tool, add it to TorqueLib and hack in preprocessor directives if there is a problem :(

PS: I was in Athens a few years back... what a GREAT city!!!!!