I recently decided to have a play with Box2DFlash. This is a port of a popular 2D physics engine that has been ported to Actionscript 3, Java, C#, etc.
A lot of games use Box2DFlash and so I thought it was about time to play around with it.
Also, i thought it would be a nice idea to blog about my progress. I will be using Flash Builder 4 (beta) to do all my work in, but the files can be used in Flash, or a.n.other development environment.
Firstly you will need to download the files from here…
http://sourceforge.net/projects/box2dflash/develop (svn)
…or from here…
http://box2dflash.boristhebrave.com/download
Check the latter link to see various examples of how you can use this engine.
The download also contains some test files, so if you do download them, have a look at the test files – these will give you an insight in how things work.
I will also be using the latest version, 2.1a, and a word of warning – there is a massive difference between this version and previous versions. As a result, most of the tutorials you will see on the web will not work with 2.1a, so i thought i would use this as an excuse to investigate Box2DFlash 2.1a and see how i can play around with it.
So i will be using Box2DFlash to create various projects in Flash Builder and i will post the code and the results here.
See you soon!