Need some help, don't know some function..
I'trying to flip one image horizontally, so something like this:
It'll be depending from the direction of moving of the char, "face forward"
I've found some methods with canvas and with matrix, but I allways have some problems with coordinates.
So I wanted to use a Matrix methods, to transpose the matrix of the image and then rotate 90°. Rotate method is clear but I can't find the transpose method. (Transpose at wikipedia)
Matrix operations were at school for a long time ago, I've forgot this all stuff
Please advice me the right method!