Skip to content

marceloxp/ImageSpritePlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageSpritePlay

jQuery Sprite Animator

Usage

$(document).ready
(
	function()
	{
		$("#element-1").imageSpritePlay
		(
			{
				image       : 'img/fly.png',
				frame_count : 4,
				velocity    : 65,
				autoplay    : true,
				loop        : true
			}
		);
		
		$("#element-2").imageSpritePlay
		(
			{
				image       : 'img/dragon.png',
				frame_count : 4,
				velocity    : 250,
				autoplay    : true,
				loop        : true,
				inlineStyle : false
			}
		);
	}
);

About

jQuery Sprite Animator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published