Game Development Community

Reintegration guide?

by Eugene Goh · in Torque Game Builder · 02/26/2005 (11:18 pm) · 5 replies

Nice job with T2D guys. Never seen my credit card move so quickly! I especially like the PDF docs which were really simple and easy to follow. Similar docs for T3D would no doubt help ease the learning curve.

What I would like to explore however, is merging T2D back into T3D. A quick compare shows me that many files have just been wholesale ripped out. A few files have changed location, and easily identifiable changes made in some. Annoyingly, many files have only changes to the comments to update revision numbers and such. All in all, it does not look like it would be too hard to do.

Are there any plans on making a reintegration guide, or to provide a merged codebase for T3D+T2D owners? This might save a fair bit of tedious work. Something akin to the way the Lighting Pack handles integration by using comments as delimiters might work well for the later releases of T2D.

#1
02/26/2005 (11:27 pm)
It's been posted several times actually in Josh and Melv's plans. It has to do with copying a couple of directories, and adding some changes to your project makefile, and you're done. You may want to scroll through their recent plans--not only info on the specifics, but a ton of additional information as well!
#2
02/27/2005 (3:37 am)
Eugene, this is extremely easy. Copy the /engine/T2D directory for Torque 2D, paste it into your /engine folder in a tge product. Add the new folder and files to your TGE compiler project. Recompile. You are done, T2D now works in T3D. :)
#3
02/27/2005 (4:06 am)
... and you thought it was going to be difficult. :)

- Melv.
#4
02/27/2005 (4:20 am)
Yes, it does indeed work as far as the compile goes. Reason I asked was because there were quite a few file differences detected between it and the installer version of TGE 1.3, particularly for the platform code which I'm not too familiar with. Wanted to be sure there wasn't any dependencies I was missing.

I noticed that the base main.cs is a completely different beast. Shouldn't be too hard to work around though.

Thanks!
#5
02/27/2005 (4:29 am)
@Eugene: Yes, indeed but the points at which T2D actually interfaces with TGE is totally backwards compatible with the older TGE 1.3, so you shouldn't encounter any problems. We worked hard to make sure that this was the case as we want to make sure the products are compatible. So many game possibilities there and it would be criminal of us to not allow it. :)

- Melv.