I'm trying to do this platform game, and I want to flip the sprites when the player moves to the opposing part of the screen. My problem is that I don't know how to flip an sprite (I don't want to do two animations per move, like walking tto the left, walking to the right, etc...).

I have tried to do a StretchDraw with the x coordinates of the TRect swapped, but the StretchDraw of the TDXImageList doesn't support that and instead I get nothing.

In my second attempt, I tried to use the StretchDraw from the Canvas, in the surface. I manage to flip the image, but it doesn't draws it with tranparency.

I'm getting frustrated with something so simple, and I don't want to do two animations per moves (you know, my image library will get a tremendous size).