Combining T2D and TGE, & maintaining T2D project functionality
by Ezra · in Torque Game Builder · 02/15/2006 (2:56 pm) · 1 replies
Hi, this is just a question I was wondering about..
Say I have a fully functioning game in T2D, and maybe I later decide, "hey, forget image backgrounds.. I want to have a full 3d background behind all my sprite layers and tiles"... and I go ahead and purchase TGE.
Is there much difficulty in combining T2D and TGE?? so that I'd still be able to use functions of T2D, keeping my project working, but then using TGE functions for added control of placing 3d objects in my scene and added control of rotating the camera/etc ?? The way I think of it now, T2D is technically 3d, except the Z-axis is only used in layering the layers, and the camera is orthographic etc.. (maybe that is incorrect though)
Most of my game ideas are all based around some sort of 2d gameplay.. but I'm pretty sure I will be wanting to incorporate full 3d into it at some unknown point.. and I'm just wondering how easy it'd be to re-use what I have...
the simplest example, rendering my orthographic, 2d, scenewindow ontop of a 3d background with a camera that has perspective...
Say I have a fully functioning game in T2D, and maybe I later decide, "hey, forget image backgrounds.. I want to have a full 3d background behind all my sprite layers and tiles"... and I go ahead and purchase TGE.
Is there much difficulty in combining T2D and TGE?? so that I'd still be able to use functions of T2D, keeping my project working, but then using TGE functions for added control of placing 3d objects in my scene and added control of rotating the camera/etc ?? The way I think of it now, T2D is technically 3d, except the Z-axis is only used in layering the layers, and the camera is orthographic etc.. (maybe that is incorrect though)
Most of my game ideas are all based around some sort of 2d gameplay.. but I'm pretty sure I will be wanting to incorporate full 3d into it at some unknown point.. and I'm just wondering how easy it'd be to re-use what I have...
the simplest example, rendering my orthographic, 2d, scenewindow ontop of a 3d background with a camera that has perspective...
About the author
Torque 3D Owner Stephen Zepp
It takes all of about 5 minutes to combine the 2 code bases (you simply copy the /engine/T2D folder into your TGE project and recompile), and then a bit of work to align your script environments (which can take quite a bit longer if you've made some extensive changes, or are using the latest directory structure of T2D which has changed from core TGE script directory structure), but overall it shouldn't be more than a few hours work.
Here is a forum thread with a .zip movie to download that describes it.