Xcode beginner questions
by Matt Clayton · in Torque Game Builder · 06/03/2010 (4:29 am) · 7 replies
Sorry if this is a repaet thread - looked through previous threads and googled, but could not find any clear answers.
I am starting out with TGB on an indie licence - getting satisfying results with ref to tutorials.
I am using Xcode to handle script files, but only as a text editor with torquescript markup plugins.
Currently I build for osx within TGB.
Can I build within xcode (and is it necessary). I cannot work out how to open my TGB projects as Xcode projects. All guides I have seen make reference to an Xcode file within the TGB directory - I cannot find this within my installation.
Am I missing something?
PS - I intend to purchase iTGB for iPhone dev in approx 6 months - do I assume that xCode is needed for that environment for building and testing on the emulator?
Matt.
I am starting out with TGB on an indie licence - getting satisfying results with ref to tutorials.
I am using Xcode to handle script files, but only as a text editor with torquescript markup plugins.
Currently I build for osx within TGB.
Can I build within xcode (and is it necessary). I cannot work out how to open my TGB projects as Xcode projects. All guides I have seen make reference to an Xcode file within the TGB directory - I cannot find this within my installation.
Am I missing something?
PS - I intend to purchase iTGB for iPhone dev in approx 6 months - do I assume that xCode is needed for that environment for building and testing on the emulator?
Matt.
#2
How do I open a TGB project in Xcode - I do not have own the source.
Matt.
06/09/2010 (4:29 am)
Hi - I am still not having any joy with this and am hoping someone can help:How do I open a TGB project in Xcode - I do not have own the source.
Matt.
#3
:?
06/09/2010 (10:10 am)
I think there are a lot of tutorials, help in the iTGB forums. I am not planning on getting to them until Friday. I see tho that you don't have iTGB. They may limit your access. :?
#4
Without the source, you wouldn't open a TGB project in XCode. You would edit the scripts (*.cs) files using whatever text editor you choose.
I don't believe there is a debugger available for TGB for the Mac. I've heard of jEdit with TiDE but people seems to get varying results of success using it.
You could also try using Boot Camp to run Windows and then use Torsion - which is available on this site.
06/09/2010 (11:12 am)
Matt,Without the source, you wouldn't open a TGB project in XCode. You would edit the scripts (*.cs) files using whatever text editor you choose.
I don't believe there is a debugger available for TGB for the Mac. I've heard of jEdit with TiDE but people seems to get varying results of success using it.
You could also try using Boot Camp to run Windows and then use Torsion - which is available on this site.
#6
To clarify, if you get the source, you still won't be editing the scripts in XCode. You will be editing the source (or C++ files) in XCode and compiling a new application file.
If this is unfamiliar to you, I do not suggest jumping into a Pro version as it will not be money well spent. However, if your goal is to make an iPhone game, then you will eventually need iTGB (which requires a Pro license).
You could technically make a game in all script and deploy it to the iPhone but you also may run up against an issue in your game when you need to create some functionality in source. This is usually when you have something computationally expensive going on in script that could be efficiently created in the source code.
06/09/2010 (12:24 pm)
Matt,To clarify, if you get the source, you still won't be editing the scripts in XCode. You will be editing the source (or C++ files) in XCode and compiling a new application file.
If this is unfamiliar to you, I do not suggest jumping into a Pro version as it will not be money well spent. However, if your goal is to make an iPhone game, then you will eventually need iTGB (which requires a Pro license).
You could technically make a game in all script and deploy it to the iPhone but you also may run up against an issue in your game when you need to create some functionality in source. This is usually when you have something computationally expensive going on in script that could be efficiently created in the source code.
Torque Owner rennie moffat
Renman3000
I am about to upload my first official project to the app store. Though I have not attempted yet, I do believe that xCode is very much necessary in order to transfer your project from TGB or iTGB onto the iPhone, Apple devices.