Learning to code is cocos2d-x is a bit hectic.
Although it provides an ever expanding wiki and online api for learning.
But it lacks in the use of those code.
Like we learn c programming say from books, having them explained in detail.
it gives a general idea how to use it.
However it is lacking in cocos2d-x
So, are there any realiable source to learn ?
any book or better way to use the wiki and online api for learning. ?
Dude, you must be joking. Seriously, have you even looked it up?
There are so many resources out there.
Start with the documents here, just read through them.
User submitted tutorials about various topics are here.
If you are new to the materia, check the basics of c++ first.
Code maybe a small console program for starters.
And please use search engines, they are actually helpful.
You will find lots of books and other reliable resources.
Cocos is not that complicated.
I respect your answer but I too felt exactly the same problem. There are lot of detailed resources for cocos2d but not for cocos2d-x.
I feel that for every API there must be a example code corresponding to them. Also, most of the APIs don’t have explanation/detailed explanation.
I’m not saying I agree with this, but having been coding for 20+ years now, undocumented API’s are really normal That is one of the things that sets apart a programmer from an exceptional programmer. Deciphering API docs is a skill that takes time and once you figure out how your growth starts taking leaps and bounds.
That being said, Cocos2d-x API docs aren’t great but at least there are API docs generated with every release and they get improved each release too. We know we can do better here.
One of my projects which I can’t talk about right now is surely going to make you guys smile No hints!
I think that you will find that most people will lend a helping hand when they can. There is of course a balance. If we all spent every spare second helping folks that are new then we don’t make progress on our own games, get better. Just because we know, doesn’t mean we don’t need to learn and refine ourselves I don’t think that you can ever be to good and that one always have things to learn.
@SonarSystems - I did say that our documentation isn’t the best out there But we are actively working on improving it. I’m sending you a private message too.
As the matter of fact, the cpp-test, lua-test, js-test is the sample code of using +90% API.
Those test cases are samples actually, not serious unit tests. So you can learn how to use cocos2d-x API from the tests