Sunday, 8 July 2012

Gaming Engine

I've written an html5 gaming engine! The physics engine uses Box2D running in a separate thread via the web worker API. The graphics use WebGL. It runs with hundreds of entities all colliding with each other at a smooth 60 frames per second in Chrome and Firefox. Garbage collector cycles pause stuff with Firefox from time to time but that may not be avoidable.