Literature Cocos2d-x?

Wanted to develop games, chose the engine Cocos2D-x. There was a desire to read something on this subject, in addition to the documentation... But unfortunately found nothing, only books for Cocos2d-iphone. Confused that Cocos2d-x language — C++ and Cocos2d-iphone — Obj-C, so I'm afraid that the compiler (Cocos2d-x offers as a basic environment for Windows MS VS) will swear by the syntax of Obj-C.


And I would like to know whether the code is compatible Cocos2d-x and Cocos2d-iphone plan, if I like take some piece of code from Obj-C (cocos-iphone) and just "translate" it into syntax in C++(cocos-x)e


Thank You In Advance!
October 8th 19 at 02:56
3 answers
October 8th 19 at 02:58
It is unlikely that You will find something, in addition to poor official documentation is a well — known big disadvantage of Cocos2d.
Can advise then any other engine with similar capabilities(development under android, ios)?
Preferably C/C++/Lua(some of it) - joy.Fritsch9 commented on October 8th 19 at 03:01
2 LosYear, I am for my little HelloWorld in the world of mobile programming chose libgdx and have not regretted. Really from Android, win, lin, Mac - Brook.Bahringer commented on October 8th 19 at 03:04
I heard about libgdx, thanks! But I would like the least possible changes. How much is difficult to develop once for both platforms native? - joy.Fritsch9 commented on October 8th 19 at 03:07
October 8th 19 at 03:00
Oh, hurry... time to sleep >_< - joy.Fritsch9 commented on October 8th 19 at 03:03
October 8th 19 at 03:02
> Confused that Cocos2d-x language — C++ and Cocos2d-iphone — Obj-C, so I'm afraid that the compiler (Cocos2d-x offers as a basic environment for Windows MS VS) will swear by the syntax of Obj-C.

In Objective-C it is not necessary to be able to write, it is enough to be able to read. Review articles in Wikipedia and comparing examples of how to call Cocos2d API for Obj-C and C++ is enough to learn the syntax of Obj-C in a minimum volume.

After that, it is possible to read books about Cocos2d-iphone, and do word for word translations of the examples in C++.

Find more questions by tags Cocos2diPhone