Importing from TGB to iTGB 1.3 release
by Raquel Ventero · in iTorque 2D · 01/13/2010 (5:07 pm) · 4 replies
When I import a project from TGB to the last release of iTGB (1.3) I have problems. For example the "Open XCode Project" button is not working. I have seen the directories structure are not the same. Should I create a new project with the new release? Is there any possibility to use the old TGB project and import it into iTGB?
Thanks,
Raquel
Thanks,
Raquel
About the author
Award-Winning film & video game score composer. Specialized in film scoring at Berklee College of Music. I know what a scene needs to become epic or to be emotionally charged. For licensing inquiries visit: www.raquelventero.com
#2
01/14/2010 (4:09 am)
Keep in mind there is documentation for a reason.
#3
I have read carefully the documentation.
In the documentation does not mention how to import a project from TGB to iTGB 1.3. They just mention about datablocks that you have to manually change them, as you say. Done.
Just in case, I have changed also the gamescripts to the new scripts folder and change the references inside the code. Everything is now working.
Thanks,
Raquel SV
01/14/2010 (5:32 pm)
Thanks for the help, Marc.I have read carefully the documentation.
In the documentation does not mention how to import a project from TGB to iTGB 1.3. They just mention about datablocks that you have to manually change them, as you say. Done.
Just in case, I have changed also the gamescripts to the new scripts folder and change the references inside the code. Everything is now working.
Thanks,
Raquel SV
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
I've not found the reason for it yet myself. But its no problem actually. just open the corresponding projects xcodeproject (which you will have after step 3 below) manually and keep it open and you are done :)
But yes to work in iTGB 1.3+ you should do the following:
1. Create the corresponding project folder within MyProjects
2. Create a projectFiles folder in that project folder and copy all your project files over there
3. Copy the buildFiles folder from another project like the iphone example, gives you that.
thats the basic part.
what will take you significantly more time is that by T2Di 1.3, there are per level datablocks. The main datablock.cs file is no longer beeing loaded in the player.
for them to work you must create a datablocks folder in your game/data/levels folder and then create <levelname>_datablocks.cs file for each level you have in the levels folder, that contains the datablocks used in that level
I think these are the basic must haves