how to add sprites sheet in javascript code example
Example: setting up a sprite sheet in js
context.drawImage(img, sx, sy, swidth, sheight, x, y, width, height)
context.drawImage(img, sx, sy, swidth, sheight, x, y, width, height)