Skip to content

Instantly share code, notes, and snippets.

@AGoblinKing
Created March 27, 2011 04:17
Show Gist options
  • Save AGoblinKing/888908 to your computer and use it in GitHub Desktop.
Save AGoblinKing/888908 to your computer and use it in GitHub Desktop.
Jixel v0.2 new Syntax
Jxl.init();
Jxl.loader.load({
'animals': ['image', 'examples/assets/animals.png']
}, function() {
Jxl.state = new Jxl.State({
members: [
new Jxl.Sprite({
x: 150,
y: 320,
graphic: Jxl.loader.get('animals'),
width: 32,
height: 32
});
]
});
});
Jxl.start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment