Games:
- Sudoku
Technology: Javascript - Squash Game
Technology: Javascript, HTML5 canvas
Experiments:
- Hello World
Technology: Javascript, HTML5 canvas, box2d.js
Based on: savagelook.com, but using box2d.js by Heiko Behrens. - Falling Objects
Technology: Javascript, HTML5 canvas, box2d.js
Based on: examples by Heiko Behrens. - Falling Squares
Technology: Flash/Actionscript3, Box2DFlash
Based on: Beginning-programming-with-Box2D-in-AS3 Sample 1, Sample 2
Technology
Box2D
Box2D is a physics engine in 2D developed by Erin Catto. Note that Box2D is a physical simulation in a virtual world without any graphical appearance. The graphics must be provided by an additional system. The graphics in Web applications is usually accomplished by the Flash player or by the Canvas element in HTML5.
The Catto's C++ library has been ported to many other languages.
Box2D in Flash
The Flash port is known as Box2DFlash.
Box2D in Javascript
There is a confusing variety of Javascript ports:
- box2d.js
This is a port of Box2DFlash 2.1a to Javascript by H. Behrens. I use this version in my experiments. Box2dFlash can be used for documentation. - box2dweb
This is port of Box2DFlash 2.1a to Javascript by Uli Hecht. Box2dFlash is recommended for documentation. - box2d-js
This port was good but it is unfortunaltely obsolete now. Ando Yasushi generated it from Box2DFlashAS3_1.4.3.1 which was superseded by Box2DFlash_v2.1a in the meantime. So, for example the creation of bodies is different in the newer version of Box2D. Another disadvantage is that this port requires also prototype.js. I had problems with prototype.js compiled with the Google's Closure Compiler. At runtime Sizzle was not defined. - Box2D-PixelLab
This is a clone of box2d-js.
Flash
I develop Flash applications with the excellent open source editor FlashDevelop.

