Hello, I want to flip a bitmap upside down. The thing is, the bitmap is not symetrical, so myBitmap:setRotation(180) will not do. Is there a way to do it without changing the png files myself?
Using the negative scale will flip the image, but you will have to set the anchorPoint to 0.5, 0.5 to be able to continue t have the image position as per the screen location points.
Comments
https://play.google.com/store/apps/developer?id=Into-It+Games
http://appstore.com/LidiaMaximova
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
myBitmap:setAnchorPoint(0,1)
myBitmap:setScale(1, -1)
Thanks