cocos 2d

Discussion in 'iOS Programming' started by jkcerda, Jun 18, 2013.

  1. jkcerda macrumors 6502

    jkcerda

    Joined:
    Jun 10, 2013
    Location:
    Criminal Mexi Midget
    #1
    hello,noob here, tried installing cocos2-d so I could use X code & the templates do NOT work , they dont even show up, installed as shown http://www.youtube.com/watch?v=PCu3F2kn4-w

    I get the message "done", but cocos does NOT show up when I start "X" code, any help will be appreciated , X code version 4.2, latest stable cocos release
     
  2. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #2
    What do you mean "cocos does not show up when you start Xcode?

    Cocos is a third party software framework that provides 2D graphics support using OpenGL. You need to include the cocos2d libraries in projects that you build.

    There should be sample Xcode projects included with the iOS version of cocos that build functioning iOS applications using cocos2d.

    Based on the level of your questions, using a third party library as complex as cocos2d may be too much for you at your current level of understanding.

    What is your development background? Do you have experience on other platforms/with other languages? Have you done 2D graphics using sprites? Do you know how to use transformation matrixes?
     
  3. jkcerda thread starter macrumors 6502

    jkcerda

    Joined:
    Jun 10, 2013
    Location:
    Criminal Mexi Midget
    #3
    just starting out here, I have an OLD MBP with Leopard on it that cant be upgraded to Lion. hard to get to "your" level if I simply quit at the start gate, already selling my stuff so I CAN buy the appropriate machine, might settle for a MacMini at this point.
     
  4. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #4
    So you're talking a Core Duo (not core 2) machine?

    What's the most current version of Xcode you can run? 4.2? That's going to be a problem pretty quickly.
     
  5. jkcerda thread starter macrumors 6502

    jkcerda

    Joined:
    Jun 10, 2013
    Location:
    Criminal Mexi Midget
    #5
    yes sir, its the only thing within my means at this time.
     
  6. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #6
    A used Core 2 Duo Mac Mini can be had quite cheaply these days, and will run 10.8. Not sure about the upcoming 10.9 though, and it won't run 10.8 particularly well.

    (10.7 and 10.8 were a big step backwards in terms of performance, and if it weren't for the fact that I have to keep up-to-date for development, I'd still be using Snow Leopard. That was the cleanest, most stable release to date in my opinion.)
     
  7. Twimfy macrumors 6502a

    Twimfy

    Joined:
    Sep 11, 2011
    Location:
    UK
    #7
    As someone who uses cocos2D quite a lot, I'd recommend downloading some example projects and playing around with them first, http://www.supersuraccoon-cocos2d.com is a good place to start.

    Seeing as most of the examples come with the cocos2d library installed you could just clear out all of the class files and build your own project off the back of them.

    cocos2D is a strange beast and wrought with complications between version. I actually prefer it for certain types of iOS development but I won't lie, it has kept me up for days on the smallest of problems.

    Best of luck.
     
  8. jkcerda thread starter macrumors 6502

    jkcerda

    Joined:
    Jun 10, 2013
    Location:
    Criminal Mexi Midget
    #8
    thank you.
     

Share This Page