Monday, July 30, 2012

Sprite sheet handling in HTML5

We can able to handle the spritesheet easily in HTML5 below URL is help full to you get the source for the spritesheet handling .In the file i use Image function for to load the sprite sheet PNG file and i use Texture packer software to get the json format data for the spritesheet , After sprite sheet loaded successfully i use drawImage function for draw the spritesheet data with corresponding x&y positions and height & width and i use keyboard control also for the animate the sprite sheet

Avatar Move.rar

No comments:

Post a Comment