Monday, January 09, 2012

Sprite.js documentation — sprite.js 1.2.0 documentation

Sprite.js documentation — sprite.js 1.2.0 documentation: "How to use sprite.js?
Example of basic usage:

// create the Scene object
var scene = sjs.Scene({w:640, h:480});

// load the images in parallel. When all the images are
// ready, the callback function is called.
scene.loadImages(['character.png'], function() {"

'via Blog this'