Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

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

Layer.static Property

A boolean value indicating whether or not the layer is static and should only be drawn once.

Remarks

If a layer is set as static it will only be drawn once unless the redraw property is set to true.

Examples

Supported Platforms

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