Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

View Project on GitHub Download Pixel.js (v0.9b)

Asset.load Method

An abstract method with the purpose of loading the asset.

Parameters

Name Description
info A class specific object containing the information needed to load the asset.
callback Optional: the function to be called when the asset has finished loading.

Remarks

No implementation is present for this method and must be implemented in classes which derive from Asset.

Supported Platforms

Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.