[Resolved] Possibility to flip images

Just wanted to throw this request in here :slight_smile:

Would be good to have the possibility to flip images horizontically/vertically. Rotating them 180 degrees will make them upside down.

For example if you have an image of a fish facing left and you want to flip the image so it faces right. A feature like this could potentially save people lots of unnecessary image files [import]uid: 14018 topic_id: 24065 reply_id: 324065[/import]

how about

object:scale(-1,1);  
object:scale(1,-1);  

? [import]uid: 90610 topic_id: 24065 reply_id: 97091[/import]

Try to take a look at the xScale & yScale - http://developer.anscamobile.com/content/objectxscale
http://developer.anscamobile.com/content/objectyscale

Example:

Image.xScale = 1 – Face right horizontal
Image.xScale = -1 – Face left horizontal
and the same with vertically, just yScale instead of xScale :slight_smile:

Best Regards

Se460 :slight_smile:

[import]uid: 122802 topic_id: 24065 reply_id: 97093[/import]

also have a look at this

https://developer.anscamobile.com/forum/2012/03/14/normal-behaviour
so flip images horizontically/vertically will be good idea as it will not work if you have reference point other than center
:slight_smile: [import]uid: 12482 topic_id: 24065 reply_id: 97095[/import]

The advice others have given is solid, going to move this to the developer forum [import]uid: 84637 topic_id: 24065 reply_id: 97368[/import]