Guest User

Untitled

a guest
Jul 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ctx.drawImage(
  2. imgSolos.img,
  3. (imgSolos.width * resultSolo), // resultSolo is current frame in the spritesheet
  4. 0,
  5. 32,
  6. 32,
  7. x,
  8. y,
  9. imgSolos.width,
  10. imgSolos.height
  11. );
Add Comment
Please, Sign In to add comment