Is there any plan to use the latest box2D source ?

Hello , why not upgrading with the new Box2D ?
even if i integrate successfully the new Box2D into cocos2d , all the examples fail
what is the status with this ?
the implementation is very easy , is there any problem that the cocos2d-x maintainers see that i don’t ?

The newest stable box2d version is 2.3.0, we have already upgraded box2d to this version in cocos2d-x 3.0 alpha 1 version. the issue link is http://www.cocos2d-x.org/issues/3296
you can check that.

I wonder if it would be possible to port those changes back to v2.2 which is the stable release for people who are using Cocos2d-x for game development?

Meir — how old is the version that is in 2.2? Are you having a specific issue with it?

Box2D version is 2.2.1 in 2.2.
I don’t think we need this, We need to keep v2.x stable, people who use it can upgrade their engine to newer 2.x version without any change and without face more bugs, if we upgraded Box2D version in v2.x, we wouldn’t keep it this way.
I think you can do it by yourself, or, if you are developing a new game, v3.0 is a better choice, and it includes a physics integration.

Bo yo, thanks for your replay ,
The latest box2D 2.3.0.7 contains the files :
and the Dynamics\Joints\b2MotorJoint.cpp[h] and in the cocos2d-x they are missing .

bo yu wrote:

Box2D version is 2.2.1 in 2.2.
I don’t think we need this, We need to keep v2.x stable, people who use it can upgrade their engine to newer 2.x version without any change and without face more bugs, if we upgraded Box2D version in v2.x, we wouldn’t keep it this way.
I think you can do it by yourself, or, if you are developing a new game, v3.0 is a better choice, and it includes a physics integration.

Disagree relative to using an alpha product for a new game, but that’s my personal experience with game development.

I agree relative to keeping v2.x stable and ensuring people who upgrade to 2.2.1 face as few bugs as possible.

I am not very knowledgable about the differences between Box2d 2.2.1 and 2.3.0.7, so I was only asking as a novice user.

Meir, Sorry, I checked v3.0 prealpha1, box2d was upgraded after this release.Cory, Beta version of cocos2d-x 3.0 is coming soon.
I think you can upgraded it by yourself, it’s very easy. or you can get newest code from github, or you can wait for next release.

bo yu ,
yes im upgrading by my self . just for your knowledge the box2d 2.3.0.7
has many bugs fixes and new stuff that are very useful.

Meir,
Thanks for sharing, I will try it.
We also made a physics integration in v3.0 base on chipmunk, I’ll really appreciate it if you can try it and give our some suggestion.