Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

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

Entity.asset Property

The Asset that is used to give a visual representation of the entity.

Remarks

An entity must have a valid asset in order to be drawn to the screen.

Examples

Supported Platforms

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