May 8, 2013
SpriteClip js is a jQuery plugin for Frame-by-frame animations in JS made easy by using an interface similar to AS3’s MovieClip.It works by animating the background-image property of a dom node where the “frames” are spaced out equally. Eg. if the sprite is laid out horizontally and each frame is 20px wide, frame 1 will be at background-position: 0 0 and frame 2 will be at background-position: -20px 0 .
Created by Michael Wolthers Nielsen
© 2013 jquer.in
Curated By Jay Kanakiya