A simple and flexible HTML5 and JavaScript powered game engine.
View Project on GitHub Download Pixel.js (v0.9b)
Loads the asset. (Overrides Asset.load.)
Name | Description |
---|---|
info | An object containing the following properties:
|
callback | Optional: the function to be called when the asset has finished loading. If a callback is provided in the info parameter and the callback parameter, the callback parameter will take presidence. |
Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.