official 2.1.2 release! finally!

Hey guys!

So I had some extra time recently and decided to clean up and finally release the official 2.1.2 jbox2d version. Some notes:

    * LiquidTest doesn't work as well because of 2.1.2's tree broadphase
    * If you want to experiment with your own pooling, feel free to implement IWorldPool and do your worst
    * testbed performance isn't as good as previous release, as I'm using java2d instead of processing for compatibility reasons
    * The engine seems to be deterministic now, short of using [strictfp] everywhere (which should make it completely deterministic?)
    * Should be releasing on maven soon!

I did a decent job of testing this, so hopefully there are no problems, but definitely throw an issue on the issue tracker or shoot me a message if you come across anything. Thanks for all your support!
Quote:
* The engine seems to be deterministic now, short of using [strictfp] everywhere (which should make it completely deterministic?)


yee!! yes, it should do the trick!

so now jBOX2D has the same version/capability of the C counterpart?
sorry, but i've downloaded the google's svn (trunk folder) and the code doesn't have "strictfp" anywhere!

And you also should initialize all random() to a number, like random(6).
I'm on the official JBox2d Repository on Google Code and I can't seem to find version 2.1 anywhere!
lesto wrote:
sorry, but i've downloaded the google's svn (trunk folder) and the code doesn't have "strictfp" anywhere!

And you also should initialize all random() to a number, like random(6).


As I said, we don't put [strictfp] everywhere. That would degrade performance for everyone. If you absolutely need a deterministic engine, you can put [strictfp] in there yourself.

The only 'Random' in there is only used for testing, and does not need to be deterministic, thus it should be fine.

liamzebedee wrote:
I'm on the official JBox2d Repository on Google Code and I can't seem to find version 2.1 anywhere!


http://code.google.com/p/jbox2d/downloads/list
http://code.google.com/p/jbox2d/downloa ... -2.1.2.jar
http://code.google.com/p/jbox2d/downloa ... -2.1.2.jar

or you can even grab the tag at
http://code.google.com/p/jbox2d/source/ ... 2d-2.1.2.0

Original thread: https://box2d.org/forum/viewtopic.php?t=7253