1/23/2011 9:14:59 AM
Title:
Box2D in AIR
Is it possible to implement Box2D in AIR.
If yes, can anyone provide me a sample code for that.
1/23/2011 9:47:01 AM
You can use actionscript to implement BOX2d engine in Adobe AIR. Check the following links are about box2d physics engine in actionscript.
http://www.emanueleferonato.com/2009/01/27/box2d-tutorial-for-the-absolute-beginners/
http://www.matthijskamstra.nl/blog/index.php/2009/01/07/as3-flash-physics-engine-box2d/
1/25/2011 9:52:17 AM
Thanks for the reply.
But I want the code in AS3 in AIR not in flash.
Can I write the code for Box2D in FLEX Builder.
1/26/2011 12:02:00 AM
you can use as3 classes anywhere whether its flex or flash it does not matter. Anyway you can check these flex examples with box2d physics engine
http://www.codeinvain.com/blog/328/simple-box2d-flex-example/
http://www.billdwhite.com/wordpress/?p=256
http://www.billdwhite.com/wordpress/?p=256