Page 1 of 1
Mac export help.
Posted:
Thu Jul 15, 2010 8:48 pm
by NevenResnik
Hey! I became a beta tester for the Mac version. I grew fond of Game Editor. I just found that I can't export to anything but the data files. Why is that? Should I wait? Help needed. Is there a way to export to a desktop version?
Thanks!
Re: Mac export help.
Posted:
Thu Jul 15, 2010 10:27 pm
by makslane
You can export executable files for Mac OS X, Linux, Windows, Windows Mobile and GP2X.
For iPhone or iPad, you need to export the .dat files and compile all on xcode.
Read more here:
http://code.game-editor.com/browser/tru ... readme.txt
Re: Mac export help.
Posted:
Fri Jul 16, 2010 10:24 am
by NevenResnik
Thanks for your quick reply, Markslane.
What I didn't mention is that I run GameEditor for Mac OSX and when I export as a Mac OSX Executable, I get a white file with no Icon, and no extension, plus I can't run the game at all. I must be doing something wrong. Do I need to change something in X-Code? If yes, could you please get into more detail for me? I have never worked with X-Code. Sorry for bugging you again.
Neven
Re: Mac export help.
Posted:
Fri Jul 16, 2010 10:54 am
by akr
After export to Mac you get a executable binary with no app bundle. This is the reason. A app bundle on Mac contains executable and icon and is a directory.
So GE exports the executable only. But thats no problem. You can either run it from commandline:
chmod +x game
./game
Then u can also doubleclick it from finder.
To have a icon on mac u need to create a app bundle.
Create a directory e.g. game.app.
This directory contains a MacOS subdir for the executable and a icon.
Andreas
Re: Mac export help.
Posted:
Sat Jul 17, 2010 2:57 pm
by NevenResnik
So let me get through it one more time, because it didn't work. I created a folder called Mechamatic.app (Mechamatic is the name of the game). Then I created a new folder called MacOS and then in the MacOS folder I dragged the executable with no icon, and an icon, and it's OK. Then I dragged the MacOS folder inside the Mechamatic.app folder, and I got a bundle with my desired icon. But when I double-click nothing really happens. Where do I have to type in the chmod +x game code? In the Terminal application? If so, PLEASE give me a step by step tutorial. Thanks for your patience!!!!!
./game