Box2D Actionscript

Community Forums/Monkey Talk/Box2D Actionscript

Chroma(Posted 2011) [#1]
Just saw this. And since we can just import Actionscript code, wouldn't this be easy to use?

http://box2dflash.sourceforge.net/


taumel(Posted 2011) [#2]
I guess Xaron's approach with porting Box2D to monkey has the advantage that you can use it later on for all target platforms but if you don't need support for all platforms then adding it this way could be a nice option. There does exist a port for Javascript as well.


MikeHart(Posted 2011) [#3]
Isn't Xaron porting Chipmunck atm?


Xaron(Posted 2011) [#4]
Yes I do and Box2d will follow. But chipmunk is much faster to port (because it's not that heavy) and will be good for 99% of all use cases.


Yasha(Posted 2011) [#5]
I discovered this recently:

http://labs.adobe.com/technologies/alchemy/

Upon seeing the bit in the FAQ where it said "up to ten times faster than ActionScript", I thought this is pretty much a must-read for anyone considering working with physics engines in Flash. Faster engine = more bits onscreen!

(Have not actually tested this myself yet, but Chipmunk was going to be the first thing to try.)

Last edited 2011


Kryzon(Posted 2011) [#6]
That's awesome; although, if they did it now, why couldn't they've done it earlier? EDIT: They did release it earlier... nevermind that.

Anyway, this also opens some doors to Monkey? it should be easier to integrate with C/C++ libraries.

Oh, and also... Doom in Flash.

Last edited 2011