3

I´m trying develop a game multiplatform, and wondering about the pros and cons about use Cocos2d html5 in JS vs Cocos2d-x in pure C+. Anyone have a feedback about use case for each technology?

Thanks a lot.

Zeus Monolitics
  • 832
  • 9
  • 19
  • Question like this tend to attract subjective answers and are off topic on SO. – CodeSmile Jan 13 '14 at 16:24
  • This question have response and there are similars in this site. http://stackoverflow.com/questions/6399341/cocos2d-for-iphone-vs-cocos2d-x. Please consider your comments, beatiful man. – Zeus Monolitics Jan 13 '14 at 17:14
  • Sometimes questions like this slip through the cracks. Generally the problem with x vs y questions is that they depend on specific requirements and programming language expertise more than anything. The SO help center denotes questions about "Product or service recommendations or comparisons" as off-topic. In this particular case it's not even a useful comparison to make, development in HTML5/JS is very different from C++ development. – CodeSmile Jan 13 '14 at 17:28
  • Yes, but the objective is make an app with language and targets platforms, and I think is very import decision that you have to make when init a project. Insist this a valid and interesting question. For example that LearnCocos2D comments is the diferent language, ok HTML 5 and JS would be an more easy language, other pro is relationated about de diferents platfoms you can deploy (mobile, web browsers and desktop with browsers engines). And what about performance? – Zeus Monolitics Jan 13 '14 at 17:43
  • http://stackoverflow.com/tour Ask practical, detailed questions. This question is attracting subjective opinions and it's too broad. Unless someone literally answers "anyone have some experience about this?" with "Yes". ;) – CodeSmile Jan 13 '14 at 20:16
  • Thanks Learncocos2d. The question keep open. – Zeus Monolitics Jan 13 '14 at 22:26

1 Answers1

2

Cocos2d-x

pros: Cross platform native app, great performance

cons: coding in C++, not available on web


Cocos2d-html5

pros: Cross platform on WEB, possible to publish in native with JSB, easy to code and maintain

cons: WEB app's performance is limited