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

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Ben Ayoo
Regular
Posts: 60
Joined: Mon Feb 24, 2014 1:08 am
Completed: The coin and the gun
Organization: Ben Studio
Location: In a house
Contact:

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

#1 Post 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.
Attachments
file0001297106618.PNG
file0001297106618.PNG
Last edited by Ben Ayoo on Tue Aug 19, 2014 10:39 am, edited 1 time in total.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: How to flip backgrounds in Ren'Py

#2 Post 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)
Like what we're doing? Support us at:
Image

User avatar
Ben Ayoo
Regular
Posts: 60
Joined: Mon Feb 24, 2014 1:08 am
Completed: The coin and the gun
Organization: Ben Studio
Location: In a house
Contact:

Re: How to flip backgrounds in Ren'Py

#3 Post 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

Post Reply

Who is online

Users browsing this forum: MisterPinetree