Sparrow or Cocos2D for iPhone 2D game?

一个人想着一个人 提交于 2019-12-07 02:46:40

问题


I want to develop a game for iPhone. For 2D game development in iPhone which one of these would be better in the long run....Sparrow or Cocos2D? I've seen that there is a scarce documentation for Sparrow framework but Sparrow forum says it is easier to develop games in Sparrow as compared to Cocos2D. So, where should i start with?


回答1:


Cocos2d is thoroughly developed, and there are several books and a myriad of forums on the subject. I don't know too much about Sparrow. "Easy" is a relative term. If I were you, learn cocos2d.

Edit: since this question was asked, there's Apple's SpriteKit and a game engine I've built called MBTileParser.




回答2:


Both look pretty good for basic 2D development but Cocos2D seems a bit more mature (though Sparrow does seem to have a good start.

Another potential consideration is portability. The cocos2d API has been ported to android but Sparrow hasn't.




回答3:


If your game is making use of large amount of animation, most likely that Cocos2D is your friend. It is because Cocos2D supports PVRTC texture which reduce memory usage. PVRTC is an image format. When it is loaded into RAM, it consumes less memory at the expense of image quality. PVRTC is not yet supported in the current version of Sparrow.



来源:https://stackoverflow.com/questions/7624553/sparrow-or-cocos2d-for-iphone-2d-game

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!