Hi,
Is there a way to flip a texture or a bitmap sprite horizontally or vertically?
I could not find it in the documentation.
If not - is it possible to add such methods to the Texture or Bitmap class?
It is very useful if you have an animated object(like man, bird, etc) running/flying around. It saves half of the images that need to be prepared/loaded.
Thanks
Vlad
Comments
setscaleX(-1) for horizontal flip
setscaley (-1) for vertical flip
www.tntengine.com
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive