Game Development Community

packaging for MAC

by Isaac Barbosa · in Torque Game Builder · 06/06/2011 (4:51 pm) · 7 replies

Hello,

Portal publisher is requesting me to package the game build for MAC into a single .app application... is that possible? How? I dont have idea on how to this so help with this matter will be greatly appreciated :)

Thanks in advance

#1
06/06/2011 (4:58 pm)
Just move all of the game assets - scripts, images, all of it - into the Contents/Resources/ directory inside of the .app bundle.

Also, although you didn't ask... Make sure to set the log level to 0 - Mac builds write console.log in the same location as main.cs. That's handy for development when main.cs is next to your .app, but it will cause problems for end users who copy your game to /Applications and aren't running it with admin rights, and main.cs is inside the .app bundle.
#2
06/06/2011 (5:34 pm)
Thanks sherman,

Am i missing something? Cant found the resources folder! I will look again
#3
06/06/2011 (5:59 pm)
I see that folder in the iphone buildings but not for the Mac platform :(
#4
06/06/2011 (6:55 pm)
iTorque 2D is only for iOS devices. It is not intended (not licensed) for Mac distribution. Torque 2D is the platform for PC and Mac desktop distribution.
#5
06/06/2011 (7:08 pm)
I know that. I´m not talking about that ;)
#6
06/06/2011 (7:11 pm)
Thanks Sherman, I made right click over the executable and that did the trick :)

Awesome!
#7
06/06/2011 (7:24 pm)
Oh! How could I forget - Aun Taraseina wrote an excellent article about preparing and submitting your game for the Mac App Store. Even if you're distributing elsewhere, it's well worth a read!