Cocos2d-iPhone or Sparrow for 2D iOS development for the first time?

I just got the basic UIKit. I made some personal applications, etc., but now I'm ready to move on to the game with some other developers. Both of these structures look powerful and have many bells and whistles.

Does anyone have any preferences? Are there any pros and cons compared to each other? Both of them seem to have similar syntax and performance.

+1
source share
3 answers

working as a game developer specifically for ios, cocos2d is best suited. Some of the reasons are:

1.Open source and objective-c language
2. Free value
3. You have learned a lot, and you need to compromise with development time.
4.it supports PVRTC texture, which reduces memory usage. PVRTC is an image format. When it loads into RAM, it consumes less memory due to image quality. PVRTC is not yet supported in the current version of Sparrow .

for the sparrow: it is still under development. It is very similar to the structure in Flash / Flex. If you are an ActionScript 3 developer, you will be familiar with Sparrow. no support for PVRTC; no integrated physics and particle mechanism.

Below is a list of resources that I found as a newbie to development. You can go to some links http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial

https://github.com/cocos2d/cocos2d-iphone

http://www.iphonedevsdk.com/forum/iphone-sdk-game-development/42419-how-integrate-cocos2d-doxygen-xcode.html

what is a chipmunk / physics engine http://www.alexandre-gomes.com/articles/chipmunk/

list of all frameworks http://www.tonylea.com/2011/best-iphone-game-frameworks/ http://talkbinary.com/iphone-development/9-game-engines-for-iphone-development/

hope this helps u !!

+7
source

I found that the Sparrow Framework API is much cleaner and more consistent than Cocos2D. You will also receive much better official documentation to start developing Sparrow, and the developer is very responsive in the forum. The Cocos2D Wiki is quite incomplete and partially outdated, and the forum is so crowded and foolish that it is difficult to find buried stones.

However, Cocos2D is extremely popular, and there are several more tutorials available on the Internet (see http://www.raywenderlich.com ) and books (like mine: http://www.learn-cocos2d.com/store / book-learn-cocos2d / ). You will also find more developers to ask for help.

Then there Kobold2D , which (but I'm biased) is an exciting alternative to Cocos2D with 15+ sample projects, integrated important source code (cocos3d, extensions cocos2d, Lua), all API links are available on the Internet, offline and in the form of Xcode help, and also in support of cross-platform (iOS and Mac OS).

+4
source

Cocos2d is the definite answer, as it is easy to learn, has a strong community and is well documented and richer in function than the sparrow. I did not use Sparrow, but I heard that it is also easy, but it does not have an active developer and forum. And Cocos2d pays more and more attention to the developer of the development of 2d games in iOS. So it is better to use cocos2d.

0
source

Source: https://habr.com/ru/post/898473/


All Articles