Box2D Java

It works fine for me as of today (first time I tried since your recent post). I am on Windows XP with Firefox 2. Getting decent framerates, but there is some stuttering on the stress tests, even though it usually reads at least 30fps. Very cool!
Yeah, the stress tests likely shouldn't run at full speed unless you're on a monster of a machine (though I just put together a demo in Slick of the pyramid test, and with the graphics going straight to hardware, I'm getting ~55 fps, which is pretty good, considering JBox2d still hasn't been optimized yet!).

BTW, my brother (gjuggler if you see him around) is doing some tests using JBox2d, PulpCore, and Processing (to handle any vector drawing that PulpCore doesn't support - miraculously the two libraries can coexist!) which you can get a peek of at http://www.andrewberman.org/projects/fizz/. Things look pretty good for a start, I would keep an eye on his stuff esp. if you plan on using PulpCore with JBox2d.
Alright, I've finally fixed the problems I was having, by installing the latest beta of Ubuntu, and I'm attempting to update to version 2.0, has it been officially released yet? I can't seem to find it. The closest I've found so far has been the SVN snapshot you posted a page or so back, which I downloaded, and attempted to compile, only to get many errors at the lack of a "Color3f" definition. Am I just blind, and screwed something up, or is this a legitimate problem with that snapshot?

I'm going to take a look at the SVN itself, to see if I can pull the latest version, but Source Revision Trackers are something I have avoided due to fear of the complex and unknown... Last time I tried to pull a snapshot, it was from Pidgin's Monotone, and I ended up compiling an IM client with support for D-bus and mono, but no plugins or graphics... I'll let you know how it goes, but any guess as to when a precompiled jar of 2.0.0 might be ready, just in case?

update: Got the svn checked out and compiled, whoo!
I wrote a simple interface that lets you create objects via a command line interface. It is simple, just 3 additional classes. It uses the 1.6 scripting engine.

I only needed to make 2 modifications to the base jbox2d code. For the SlickDebugDraw class, I needed to add getters for 'g' and 'container' variables.

Then you can create a world and objects interactively via Javascript. If anyone wants the code, let me know.
do you want to share your code so we can include it in jbox2d distrib?
Sure, but I'm not sure who to coordinate that with. I can send patch files to an e-mail if you like.
The demos on here blow my mind, I love the dominoes tower: http://www.jbox2d.org/v2demos/

By the way, with java 6 update n (https://jdk6.dev.java.net/6u10ea.html) the applet works fine.
Hi,

yeah the new examples are amazing!
Do you have an idea when the 2.0 port will be stable?
I checked out the sources and experienced compilation errors (the project SlickBox2d project and its classes were missing) which I could resolve by removing the project reference and the complete integration package (quite brutal, I know, but integration with other frameworks is currently not important to me).

Cheers

Stefan
Well, I'm working on the update to 2.0.1 bit by bit...I've had a busy week, so I haven't gotten it finished yet, sorry about that. I can't make any guarantees, but it should be soon, hopefully within a week. Before releasing I want to get 2.0.1 stable enough that it can sit for a while, because I'm not going to be able to put much into it for a month or so (I have to finally get to work on some of my own projects).

Re: the Slick demo, yeah, unfortunately that won't compile unless you manually link it against Slick. Maybe I should either include the Slick binaries or package that up separately from the main distribution...for now, the thing to do is probably exactly what you did, just delete the package - it's not needed for anything except an example of JBox2d rendered with Slick instead of Processing.

BTW, all patches, demos, examples that anyone would like added are welcome and appreciated (as long as they do something useful, of course!) - you can e-mail them to me (my username at this forum at gmail).
Thanks for the answer, it's good to hear that the update is coming.
If I figure out improvements of any kind, I'll contact you.

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