Fork me on GitHub

jquery-sprite-plugin
by Matt Robenolt

Animate a traditional sprite sheet with jQuery

Description

jquery-sprite gives you the ability to animate over a traditional 1D or 2D sprite sheet. Great for playing animations exported out from 3D software or videos converted to a sprite sheet. This allows smaller file sizes than an animated gif, plus control over speed and play methods (once, bouce, or loop) at runtime.

All of the examples on this page use this walk cycle for reference: walk-cycle.png

Play Once

Play

Source


Bounce

Play

Source


Loop

Play

Source

License

Copyright © 2011, Matt Robenolt
Licensed under the MIT license.

Contact

Matt Robenolt (@mattrobenolt)

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/mattrobenolt/jquery-sprite-plugin