Page 1 of 1

im.Flip and composite images

Posted: Sat Nov 18, 2017 7:50 am
by agl
Looks like Function "im.Flip" does not work with composite images.
Is there any simple way to reflect the composite image horizontally?

Re: im.Flip and composite images

Posted: Sat Nov 18, 2017 8:56 am
by Remix
Three options I can think of... all untested

im.Flip every component of the composite individually - might mean adjusting the (x, y) tuple though

maybe im.Flip( renpy.display.layout.Flatten( the composite ) ) - iffy as Flatten is a Container so might not work on just a composite - also pretty expensive time wise

or using ATL and xzoom flip

show compy_image:
.... xzoom -1.0

Re: im.Flip and composite images

Posted: Sat Nov 18, 2017 9:19 am
by agl
Remix wrote:
Sat Nov 18, 2017 8:56 am
show compy_image:
.... xzoom -1.0
thank you! this is exactly that I'm lookig for!