40
rated 0 times
[
46]
[
6]
/ answers: 1 / hits: 57697
/ 13 Years ago, thu, november 17, 2011, 12:00:00
I'm trying to flip/mirror an image as I paint it on an HTML canvas; I found a game tutorial showing a sprite sheet per direction a character has to face, but this doesn't seem quite right to me. Especially since each frame has a different size.
What would be the best technique to reach this goal?
I tried to call the setScale(-1, 1);
on my canvas with no success. Maybe that isn't meant for this.
Thanks
More From » html