We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi
I have a lot of Processing sketches made with Box2D library (Pbox2D by Shiffman) and I wonder how to load them up on openProcessing correctly. Every time i try to load them I obtain sketches that don't work. I think the problem is I have to include in some way the external library in the web-applet before uploading it, but how?
thank you very much and sorry for my poor english
bye
Answers
You'd have to find a JavaScript version of Box2D library in order to post it online! :o3
Another option would be to post it as a Java Applet. But it's very complicated to pull that out nowadays! :-&
Hey GoToLoop, thank you very much. I think I've found a Javascript version of Box2d here http://box2d-js.sourceforge.net/ . And now :P ?
thank you in advance
Dunno much yet. The ideal library is 1 that shares the same method names on both Java & JS modes.
Lest we'd have the tedious task on renaming everything! :-&
The online example below demos the usage of class Date's methods on both Java & JS modes: $-)
http://studio.processingtogether.com/sp/pad/export/ro.9to4yV59zus7B/latest
From thread:
http://forum.processing.org/two/discussion/3350/getting-the-day-of-the-week-without-calendar
ok, so maybe the problem is that the library I'm using has different method names in his JS version. Or, worst, the library has no JS version of it (is it possible?).
thanks
Yea! If some1 would make available a Box2D library w/ many methods using the same name, that would be heaven! O:-)
Thank you GoToLoop for your support! :)
The following link might be interesting for the future although Dan Shiffman has labelled something as not working, it won't stay that way for long I guess. Also he has renamed PBox2D to Box2DProcessing for vanilla processing.
oh thanks monkstone! very interesting!