Page 1 of 1

({SOLVED})How to flip backgrounds in Ren'Py

Posted: Mon Aug 18, 2014 10:28 pm
by Ben Ayoo
Could someone please tell me the code to flip the whole background(not that of a character sprite) like from left to right in a game?

Something like the photos below.

Edit
Added solved tag on the post.

Re: How to flip backgrounds in Ren'Py

Posted: Tue Aug 19, 2014 4:13 am
by xela
Ren'Py Documentation wrote:

Code: Select all

im.Flip(im, horizontal=False, vertical=False, **properties)
An image manipulator that flips im (an image manipulator) vertically or horizontally. vertical and horizontal control the directions in which the image is flipped.

Code: Select all

    image eileen flip = im.Flip("eileen_happy.png", vertical=True)

Re: How to flip backgrounds in Ren'Py

Posted: Tue Aug 19, 2014 10:36 am
by Ben Ayoo
:D Thank you it worked.

And for others who might have the same problem you can also check out this thread http://lemmasoft.renai.us/forums/viewt ... =8&t=27180