Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

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

Layer.draw Method

Draw the layer and all its components to the screen.

Remarks

The draw method shouldn't need to be called manually as it is automatically called for all registered layers.

Supported Platforms

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