Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

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

Asset.prepare Method

Prepare the information required to load the asset.

Parameters

Name Description
info A class specific object containing the information needed to load the asset.

Remarks

The info parameter must use the same schema as that of the class that is inheriting from the Asset class in its load method.

Examples

Supported Platforms

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