Game Development Community

TEG/TGEA Import<--->Export

by William Shultz · in Torque Game Engine · 10/17/2008 (1:19 am) · 3 replies

I'm waiting for Finney's two books on TGE to arrive, at which point I'll latch on to the latest version of TGE before jumping off into TGEA.

But right now, I am wondering if what I code in TGE is capable of being imported into TGEA? I can only assume that this is not a problem, but I want to 99% sure. I want to be 100% sure.

Thanks all!

#1
10/17/2008 (1:29 am)
For the most part, yes.

For script you will have to make a few minor adjustments for different file paths, a few different names for some console functions, differnt variables, etc. But that's all trivial. TGE allowed Particle Emitters to have multiple Particles assigned to them, TGEa doesn't, again trivial. The sound layer has changed - become a bit more abstracted, but to fix this mostly all that is needed is changing instances of AudioProfile or AudioDescription to SFXProfile or SFXDescription, again a minor issue.

On the source side however it depends. Depends on the depth of your changes, especially if you made source code changes that touched on graphics. TGE is capable of running in OpenGL and Direct3d. TGEa is Direct3d only. The graphics layer is abstracted somewhat however (GFX) so that can all be worked around, it's even possible to add OpenGL back into the mix.

And there are a few other gray areas but those are the most obvious ones to deal with. Again the answer to your question is: for the most part, yes, but a little work will have to be done depending on what you code and the depth to which you have coded.
#2
10/19/2008 (9:03 pm)
Ah. Thank you. My main concern is keeping OpenGL alive for the Linux platform.

Thanks, Mike!
#3
10/22/2008 (11:38 am)
Well, 1.8 will have OpenGL implemented, but that doesn't mean it will be ported to linux without some considerable heavy lifting from the linux community.