Is there a fast, practical way to reflect an NSImage across the vertical axis? I'm writing a 2-d game and it just seems stupid to me that I have different sprites for the same person walking to the Left and to the Right, thereby pretty much doubling the RAM the program requires...
I'm familiar with NSAffineTransform, but don't think it applies here..
I also know of the drawAtPoint method, which is what I'm using... I'm not sure if drawInRect would work.. would a rect with negative width draw mirrored?
I appreciate any response.
I'm familiar with NSAffineTransform, but don't think it applies here..
I also know of the drawAtPoint method, which is what I'm using... I'm not sure if drawInRect would work.. would a rect with negative width draw mirrored?
I appreciate any response.