R.U.B.E scene loaded in Phaser.js using box2dweb


Desktop browser: Left mouse button to drag dynamic bodies or pan the view. Mouse wheel to zoom.
Mobile browser: Two touches to pinch-zoom the view. One touch to drag dynamic bodies or pan the view.


Tested on Chrome (desktop and Android) and Firefox (desktop only).

Chrome desktop : everything works great.
Firefox desktop : mousewheel zoom does not zoom into the point where the mouse cursor is.
Chrome Android: touch positions are a little off. However, this also seems to work ok when the canvas is positioned in the very top-left of the page.