rafaskb / awesome-libgdx

🎮 📝 A curated list of libGDX resources to help developers make awesome games.
https://github.com/rafaskb/awesome-libgdx
Creative Commons Zero v1.0 Universal
1.01k stars 76 forks source link

Add box2d new binding #48

Closed ice1000 closed 1 year ago

ice1000 commented 1 year ago

This new binding:

  1. Does not have GWT/iOS support yet, bc I dunno how to
  2. Fixes https://github.com/libgdx/libgdx/issues/5948 and https://github.com/libgdx/libgdx/issues/6711
  3. Is not as tested as the official one, but I've tested on Windows 11 and it works so far.
rafaskb commented 1 year ago

I feel like that's better suited as a PR to the libGDX repository itself than a third-party library, but even then a certain level of library maturity and stability would be required to make it to this list, as users expect all resources here to be battle-tested and ready to rock. New Box2D bindings are always exciting so I'll keep the PR open for discussion, but I recommend an official libGDX PR is opened with it.

ice1000 commented 1 year ago

I feel like that's better suited as a PR to the libGDX repository itself

This is tricky. I don't have means to build/test this library on iOS and GWT, so it probably cannot be merged in libGDX repository.

This library is also a 98% drop-in replacement of the official gdx-box2d, so the documentation is also applicable to this library. I've observed about one or two functions being unimplemented but that's all.

ice1000 commented 1 year ago

Oh I just realized setDestructionListener is neither implemented in the offical box2d. So this library is 100% drop-in replacement.

rafaskb commented 1 year ago

This PR has been moved to https://github.com/libgdx/libgdx/pull/7144