Tag Archives: boxboxevents



Last year I made a simple physics engine Ball.js that handles collisions and rendering (DOM or canvas) of balls, with a few built-in visual effects (glowing/blinking colors, explosions, opacity …).

This year, I released in june 2013 an other game engine – more evolved – based on Box2d/Box2dweb (the physics engine of Angry Birds, a game you should know 😉 ) : boxboxevents.

I didn’t start from scratch like last time, I forked the boxbox framework made by Greg Smith that provided an abstraction layer to box2d and added to it the support for :

  • mouse/multitouch events on entities (jQuery style)
  • viewport (zooming/dezooming with mouse wheel or fingers)

I learned a lot about box2d, as well as multitouch …! And as you’ll see, you can make an Angry Bird like game that will work on desktop as well as on mobile very easy and quickly

You can try the demo I made with boxboxevents : smileyFaces.
The sources are on github. I am also working on a game based on boxboxevent (still a work in progress).