iOS cocos 2d


Duncan C

macrumors 6502a
Jan 21, 2008
853
0
Northern Virginia
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
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?
 

jkcerda

macrumors 6502a
Original poster
Jun 10, 2013
710
40,181
Criminal Mexi Midget
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?
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.
 

Duncan C

macrumors 6502a
Jan 21, 2008
853
0
Northern Virginia
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.
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.
 

Duncan C

macrumors 6502a
Jan 21, 2008
853
0
Northern Virginia
yes sir, its the only thing within my means at this time.
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.)
 

Twimfy

macrumors 6502a
Sep 11, 2011
881
227
UK
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
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.
 

jkcerda

macrumors 6502a
Original poster
Jun 10, 2013
710
40,181
Criminal Mexi Midget
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.
thank you.