Closed marrus-sh closed 8 years ago
wontfix because there's no easy way of doing this in canvas2d without taking a huge performance hit – just use mirrored sprites instead.
(Possible future project: add data-mirror
to a sprite sheet to mirror each sprite in the source image. Because this would only happen once it would not be a huge performance hit, and it would reduce file sizes / download times.)
I would think this would be pretty easy to implement but I'd have to check how canvas2d drawing works. In any case, it should be specified using a
data-mirrored
attribute on a sprite