XCode, Accessing TGB files
by rennie moffat · in iTorque 2D · 06/15/2010 (4:40 pm) · 2 replies
Hi,
I am wondering, since I am incurring many errors, if I need to save my TGB work in a folder specific to XCode, or, by simply "adding existing files" to my "Resource" folder that all info will be saved and exists with in the appropriate XCode file?
edit:
Also, on a side note. I thought, originally I had read that into the Resources Folder I needed to add, the game folder, common folder and main.cs. I have looked back through the docs and only see game and common folder. Do I not add the main.cs?
Please help.
thanks.
I am wondering, since I am incurring many errors, if I need to save my TGB work in a folder specific to XCode, or, by simply "adding existing files" to my "Resource" folder that all info will be saved and exists with in the appropriate XCode file?
edit:
Also, on a side note. I thought, originally I had read that into the Resources Folder I needed to add, the game folder, common folder and main.cs. I have looked back through the docs and only see game and common folder. Do I not add the main.cs?
Please help.
thanks.
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
Torque Owner Carlos G. Varela
idealius.com/blog
Intro:
Now you have a "MyProjects" folder on where you need to put your projects game named folders, inside those folders you will have some other folders like:
"buildFiles", on where will be all your platform source code like xcode or visual studio
"projectFiles", on where you need to put your game files
or "source", this for custom code add-ins, for advanced users, most of the time not needed.
Well the best to start a game is to copy some of the samples folder and then start modifying.
After all that, you only need to open you game and hit the "build" button inside the iTGB editor, its will consolidate all the files for you and put into your "buildFiles/Xcode" folder. Then you only need, on xcode, to take care about your target platform version device or that all the framework files are correctly linked, the framework can not be on red color, for ex., etc. compile, cross your finger and all have been going well then drink a good beer.
good look!