Game Development Community

Games on Apple computers ?

by Jan Sorensen · in Torque Game Engine · 08/11/2013 (8:43 am) · 10 replies

Hi here :-).

I'm working with the good old TGE 1.3 and I wish it could work on an Apple 'notebook' :-O.
Is it necessary to do other than 're-compile' the engine to work under Apple sw, or is there more I must do? Here I think about pictures, sound and scripts.

Regards Jan :-).

#1
08/11/2013 (5:18 pm)
All my versions of TGE come with a mac specific package, but i'm pretty new here i dont have anything older than 1.4
#2
08/11/2013 (6:24 pm)
Do you need 3D? Because T2D will run on OSX and iPhones.

T2D has an OpenGL renderer so it may be possible to add some limited 3D stuff if you need it. Something to think about anyway.
#3
08/11/2013 (10:34 pm)
@ Bloodknight:
Ver.1.3 is about ten years old and I don't remember something about a specific Mac package? Okay it is long time ago I got it, but maybe there are something I can use from 1.4?

@ Demolishun:
It is an existing game we're talking about, not a new system to start on.

Jan :-).
#4
08/12/2013 (1:36 pm)
I've used both systems, so I can tell you firsthand the images and sound should be completely unscathed. Go ahead and download and compile the source with Xcode and you should be good to go. At least, that's what I'd do with TGB... I don't have TGE so I couldn't be sure.
#5
08/13/2013 (10:49 am)
Thanks for replying Orion.
BUT I'm a bit confused on your answer. What is 'Xcode'? Normally the engine is compiled with a C + + compiler and what about the CS script files, should I change something here? I think, but am not sure, there is to many differences between TGB and TGE to just do it in that way?

Jan :-).
#6
08/13/2013 (7:35 pm)
XCode is Apple's compiler for OSX/iOS. I'm not personally very fond of it.

As far as the scripts, they should all work the same - they're interpreted by the engine, after all. The key is that Apple has deprecated at least one of their frameworks in the last two years and who knows how many more before that - you may be updating Carbon to Cocoa, or worse. Mich is probably the guy to ask about this one.
#7
08/14/2013 (12:44 am)
Hi Richard and okayy :-).
I think it starts to be a little more complicated than I had hoped for from the start.

Status as I see it:
Image files, audio files and scripts files are the same and can be used and understood by the Apple computer. The problem is still the engine (in Windows the 'exe-file'), or what is now called to an Apple computer?
I had the hope, a simply changing of the C + + compiler directive to compile for Apple (I'm not C + + expert :-O), but now we also talk of 'Carbon and Cocoa'. Now I be a bit 'scared '.

So I hope, that Mich or others who know something about my question discovering this thread.

With hope... Jan :-).
#8
08/14/2013 (1:42 pm)
You're going to need the Xcode projects for the game in order to compile the .app (the Mac equivalent of an exe). I'm not sure how out of the box compatible TGE 1.3 would be with current Macs. You'll definitely be limited to Snow Leopard and down. It's possible that build of TGE may only be compatible with PowerPC based Macs (everything pre-Intel based Macs).

What is it you're trying to do? We may be able to give you better answers if we know a little more about what you're doing.
#9
08/14/2013 (1:55 pm)
It takes a bit of work, but you can port the OSX layer from T2D MIT to TGE. I did it a few months back for contract work.
#10
08/15/2013 (2:38 am)
Hello again :-).

@ Scott Burns:
I understand it's not just a question to change the C + + compiler setup to make a .app file.

I have to 'go around' an Xcode project and hope the Xcode system can use the source code .cc files from Ver.1.3. So ...

1) I found some websites describing the Xcode system and I will read a little there.

2) Buying a 'Apple Notebook':-D because a Windows computer can't work with the Xcode system, as I understand it.
I just hoped it was a little more simple to make TGE so it works on Apple.

What is it you're trying to do? A good question :-).

Our project:
We are some guys who have been working on a project (since 2005) called virtuchat.com. We are now about to be 'Beta ready'. Therefore, the project is based on the 'old Ver.1.3' engine. On this occasion we seemed it would be fun if our project also was able to run on an Apple Notebook, them is there sold many of in our country (Denmark).

@ Tim Newell:
Sounds exciting, I will also try to look on that possibility.

Regards Jan :-).