Closed akien-mga closed 3 years ago
Working on it - most of the stuff is already done and pushed to the master branch. But there is a problem left with the revolute joint. Will figure it out in the next few days.
Ok, the player-not-moving issue is fixed now - thanks to Eric Catto who found it.
The problem was, that I did not set a density to the circle body in Player::createBody()
. And box2d 2.4 changed the behavior of zero density objects to mto make them behave like static bodies.
There is another problem left with the packages not pulled into the target. But I'll open another ticket for that one. As the update is done and the game is playable like it is now.
Hi,
Box2D had a new 2.4.0 (and then 2.4.1) release recently, which breaks compatibility with earlier releases:
snake_case
and are now packaged in abox2d
(lowercase) directory:float32
andfloat64
were removedApparently more changes as after patching
caveexpress
code to account for the above two, I still had errors and gave up on doing the port myself (for now).To keep this codebase future proof it would be great to update to latest box2d (both builtin code and compatibility with system libraries, as I guess it would be tricky to keep support for both 2.4.x and 2.3.x).