XCode project for my game

edited May 2012 in Help request
Hi,

I want to compile my game for IOS.

First, I tried to open the xcode project "orx-ios", that's ok, it compile fine (ther's a little compile error, easy to correct, about the new command module).

So that's ok, orxTest run correctly.

I took a look at different place :
- http://orx-project.org/wiki/en/orx/tutorials/setup_xcode
- http://orx-project.org/wiki/en/orx/tutorials/community/tdomhan/ipadport

What's the recommended process to start an xcode project ? It's better to create a new project or to copy the "orx-ios" project in my own build folder (something like my-game/build/mac/) ?

I'm not sure how to start that, maybe someone of you can give me the good starting point ;)

Thanks !

Comments

  • edited May 2012
    I just copied the existing project to my own new folder and modified the code within.

    Let me know if you have any trouble doing this with Xcode 4. If you have a problem, it might be something I saw too.
  • edited May 2012
    Ok, it works, my game compile and run fine in the emulator, I'm happy ;)

    I have one more problem, but I'll search tomorrow and it will probably be easy to solve. It's a landscape/portrait mode.

    So, I think the main difficulty was to know the existence of the "blue folder" in XCode ... Without this kind of references folder, the config module can't load .ini in subfolder.

    Ok, now I know that I don't like XCode ... maybe because it was the first time I tried it, but I was completly lost ... But, it's ok now !
  • edited May 2012
    If you don't like Xcode, you're in good company with iarwain and me :)

    Here's a good explanation of how to handle orientation on iPad: http://orx-project.org/wiki/en/orx/tutorials/community/tdomhan/ipadport
  • edited May 2012
    Yeah, good luck with XCode! ^^

    Though I have to admit once you get the hang of it, XCode 4 is actually usable (and is 10X better than XCode 3!).
    The most annoying part was to figure out how to setup all the schemes to have something vaguely similar to other IDEs.

    There's also a good point: by default XCode 4 uses llvm/clang which includes a static code analyzer, much improved error/warning messages over any other C/C++ compiler and compiles lightning fast compared to visual and gcc.

    For my own iOS projects I usually create a new project from start that doesn't contain orx but simply links with the universal static library I compile separately (that contains simulator, arm6 and arm7 binaries).
Sign In or Register to comment.