8000 GitHub - engine-pi/jbox2d: a 2d Java physics engine, native java port of the C++ physics engines Box2D and LiquidFun
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from jbox2d/jbox2d

a 2d Java physics engine, native java port of the C++ physics engines Box2D and LiquidFun

License

Notifications You must be signed in to change notification settings

engine-pi/jbox2d

 
 

Repository files navigation

Maven Central javadoc

jbox2d

Why this fork:

jbox2d has not been updated on Maven Central for a long time: https://central.sonatype.com/artifact/org.jbox2d/jbox2d

However, there have been many commits in the Git repository since the last release: https://github.com/jbox2d/jbox2d

JBox2d is a Java port of the C++ physics engines LiquidFun and Box2d.

If you're looking to deploy on the web, see PlayN, which compiles JBox2d through GWT so it runs in the browser. The JBox2d library has GWT support out of the box. Also, TeaVM support jbox2d in the browser as well.

If you've downloaded this as an archive, you should find the built java jars in the 'target' directories of each project.


  • jbox2d-library - this is the main physics library. The only dependency is the SLF4J logging library.
  • jbox2d-serialization - this adds serialization tools. Requires google's protocol buffer library installed to fully build (http://code.google.com/p/protobuf/), but this is optional, as the generated sources are included.
  • jbox2d-testbed - A simple framework for creating and running physics tests.
  • jbox2d-testbed-jogl - The testbed with OpenGL rendering.
  • jbox2d-jni-broadphase - Experiment with moving parts of the engine to C++. Not faster.

Tests / Demos

https://github.com/engine-pi/jbox2d/tree/main/jbox2d-testbed/src/main/java/de/pirckheimer_gymnasium/jbox2d/testbed/tests

BulletTest

Car

DamBreak

DominoTest

LiquidTimer

ParticleTypes

WaveMachine

About

a 2d Java physics engine, native java port of the C++ physics engines Box2D and LiquidFun

Resources

License

Stars

Watchers

Forks

Languages

  • Java 95.7%
  • C++ 3.8%
  • Other 0.5%
0