The copy of Box2D included with cocos seems to be straight out of the code repository, instead of being one of the older, documented stable releases. Does anyone know if, at the very least, the new API is up somewhere? It's getting tiresome wading through the source to look for the new equivalents of old API. It doesn't seem to be up anywhere on the box2d site.
Box2D Documentation?
(6 posts) (5 voices)-
Posted 2 years ago #
-
Hey man, I have a question to you. Where did you learn to work with box2d and cocos2d, do you have any good tutorials or something?
Posted 2 years ago # -
I'm currently working my way through these video tutorials;
They're based around a flash implementation but the basic concepts and gotchas of Box2D are explained clearly.
Posted 2 years ago # -
I've always liked building cocos2d/box2d with the most newest version in the trunk.
This is does mean that documentation is sparse since it's always changing but I've learned to read source pretty well and I tend to look at test files and tutorial implementation files in box2d's trunk or cocos2d's trunk.
As any project changes there's always test cases in the source to make sure the framework still functions.
Why don't you take a look at those test files. They work and you can run the demos.
Hey! the source is right there too for all the test files and can really sometimes explain how to use the framework when the written docs tend to get ambiguous.Posted 2 years ago # -
I think you can pick a lot up from the source but its going to leave gaps when it comes to some of the physics and maths concepts that underpin Box2D (or any physics simulator for that matter).
Posted 2 years ago # -
Go ahead and use an older copy. You can get it from https://box2d.svn.sourceforge.net/svnroot/box2d. I haven't figured out how to put in Xcode and what not but, that way I can use the documentation from the older stable version. I too am using the kerp.net/box2d tutorials and I don't want to have to figure what the new equivalent for some class or struct is since the kerp.net/box2d tutorials are using an older version of box2d.
It just seems easier for me to learn how to use Box2D.
Posted 1 year ago #
Reply
You must log in to post.