"A couple of months ago – three to tell the truth – Photon Storm guys released a Box2D plugin for Phaser.

It’s time to publish some tutorials about it, and we start with the most basic tutorial, that is a “click to create, click to remove” script.

This is what I mean:

image

Click anywhere, you will create a crate if you click on an empty spot, or destroy a crate if you click on it.

The code is very easy to understand, as unlike the original Box2D and its AS3 porting, where it’s up to you to add sprites and synchronize them with physics world bodies, Phaser works in the opposite way: you add the sprites and assign a body to them.

Way more intuitive, and you won’t need the debug draw tool that much."

Read More