It's been a while since I've posted here (last question I asked was
about scrolling a 2D background) and now I'm back with another 2D
Is there a simple way to flip a sprite horizontally
and vertically? I started to just make new textures for each of the
positions, but then I thought somebody has to know how to do this the
right way for 2D games.
From what I'm gathering, typically you
do some kind of World transformations to flip your game objects around
when you normally develop for DirectX
(and by normal I mean 3D development), but with the 2D development
route I've been going, I've been trying to leave out things like World
and Camera (other than what the native classes like Sprite, create and
use on their own in the background).
Any input, suggestions or
links to examples would be appreciated. I did some searches tonight,
but the examples I keep turning up all seem to involve textured quads
and world transformations and I'm hoping it's not going to take all that just to make Pac-Man face the other direction.