kirkjerk wrote:
Just to be pro-actively passive aggressive...
Don't worry about it - if nobody gave a nudge here or there, I'd never know what really needed to be done to make things a bit easier to use!
Quote:
I edited http://www.box2d.org/wiki/index.php?title=JBox2d so it mentions the steps needed to get rid of the unfunctioning Slick integration. Basic instructions like that should work without having to google for additional steps!
Yes, there definitely is a lot of cleanup that needs to happen; right now I have about 8 different versions of JBox2d on my computer, both stale and branched, as well as several C++ ones and a few AS3, so sometimes I lose track of what's actually going on in the release versions! Thanks for adding those instructions, at the next release (when that will be, I'm not sure - I've been swamped with work the past few months, so I haven't been able to do a JBox2d update in quite a while) I'm probably going to pull the Slick code out altogether, as it's too stale to be working and I have zero Slick experience, so am unlikely to pull it back into line.
Re: docs, nothing specific to Java at the moment. JBox2d is very close to Box2d apart from the C++ -> Java translation, so the C++ manual is pretty much the closest thing. The bindings between the physics model and the graphical view are always somewhat tricky no matter what language or libraries they are done in; I suspect the way the testbed does it may be a little opaque, especially if you're using the ProcessingDebugDraw class - the theory goes that you should be using your own real drawing class, but there are fairly few samples of how to do this, so that might be a good thing for me to add (a boring old sample project that shows basic simulation and drawing, without any of the testbed frills).
As far as Processing vs. Slick/PulpCore/JMonkeyEngine/etc., I've mainly used Processing and PulpCore. Personally, I find Processing the best of them all for prototypes, because it has great vector drawing support, and I'm a terrible artist, so the process of generating sprites tends to be a major time-sink for me; Processing also has the additional benefit that you can use the core.jar in a plain old Java project with no build script, whereas PulpCore requires Ant, which is slightly less convenient.
That said, PulpCore has fantastic functionality for games, far better than Processing (which is, after all, not a game library), and it's probably one of the most intelligently built libraries I've seen for that type of stuff (scene handling, sprites, animation, sound, user interface, etc.). It's as fast as software rendering can possibly be for sprites, but has no vector drawing ability. If you're interested in Java game dev, it's definitely worth checking out, it should be getting Android support soon, and can produce some very high quality stuff (Google "Milpa" to see an example).
But ultimately, it depends what you're trying to do, I suppose. For a lot of other things (esp. if graphical speed is an issue) you'll want an OpenGL game library like Slick or JMonkeyEngine, so it's probably worth playing with those a bit, too - I've definitely pushed both Processing and PulpCore past their comfort levels pretty easily by loading up on graphics, so some hardware help can be really useful sometimes (Processing can use OpenGL, but there's a lot of software transformation going on before the polygons hit the graphics card, so it's not as fast as Slick).