Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

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

AnimatedSprite.resetFrame Property

The index of the last frame in the animation.

Remarks

If no value is explicitly defined as the reset frame, it will default to the maximum number of frames in the spritesheet.

Examples

Supported Platforms

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