Game Development Community

Starting Toque on a Mac in Xcode 3

by James Garvin · in Torque Game Engine · 06/01/2008 (6:57 am) · 6 replies

Hello. I normally do Windows development and don't have a real idea of where to start. The "Getting Started.txt" file doesn't really tell me anything...like where to put the SDK, what to do about starting a project, etc.

Is there a tutorial on getting started on a Mac somewhere? Any information would be helpful.

#1
06/01/2008 (12:40 pm)
Actually There IS, I don't have the new videos up yet, but A SUPER quick guide to getting set up on a mac can be found here: the-gfc.com/TGE-Mac-Video-Tutorials

-Josh
#2
06/01/2008 (5:49 pm)
Yeah. I saw that, but I'm trying to do something else. I'm looking to setup like I would any other project and use a compiler. My previous project used Ogre on the PC and I figured I'd try out Torque, but I don't want to use their system of developing. The SDK comes with a text file that gives information, but it doesn't tell you where to put things. Such as where do I actually put the SDK folder? How do I start a new project in XCode? GarageGames has a good tutorial on how to start making a game, but it's not compiler specific, which doesn't help me if I want to use a compiler.

If I missed something on your site, then I apologize, but I did watch your videos before I created this topic.
#3
06/01/2008 (7:16 pm)
I think you may be approaching this from the wrong perspective. TGE isn't a library you link your game against - it is your game. Any code you write will be modifying the existing TGE application. Therefore, the XCode project has already been set up for you and it is in Torque SDK/xcode/torque_xcode_2_2_UB.xcodeproj.

Take a look at this thread for more discussion of how Torque functions and how to develop with it. It's and old thread, but the discussion in it is still relevant.
#4
06/02/2008 (9:38 pm)
Thanks, Alex. I think that was my misunderstanding from the beginning. I'm use to engines being something you link against and you write everything (logic, GUI, etc.). I'll have to rethink what I had planned in this case.

So in XCode, I'm only creating the script? I'm still not sure what I'm modifying. I hope you excuse me, I'm new to this way of doing things.
#5
06/02/2008 (10:11 pm)
You have two things to modify actually. There is the core engine code and there are the scripts. For most games you will be doing a substantial amount of work in both. Generally speaking most game specific logic (e.g. inventory tracking, scoring, etc.) will be done in script and possibly moved into engine code depending on performance needs. You'll be modifying the engine code if you want to fiddle with the physics, adjust rendering, create entirely new kinds of objects, etc.
#6
06/07/2008 (5:22 am)
Thanks for the information. I tried to set this up via videos and such, but I don't know where to put the root directory. Man, seems like Ogre was easier to get going than this. Is there a place to get some information on how exactly this is setup via XCode? I want to play around with it, but so far I'm thinking it's better to try something else. :(