Flipping Layered Images

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
Posts: 4
Joined: Fri May 18, 2018 8:05 pm

Flipping Layered Images

#1 Post by Chendzeea » Sun Sep 30, 2018 4:48 pm

I'm trying to make my character images flip when using the "at right" command. I was using xzoom -1 each time but that was tedious. So I figured I'd make a If statement that I can toggle as needed. However I keep getting this error. Suggestions?

I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.

File "game/images_characters.rpy", line 38: A condition must have a displayable.
if jlr == "right":


layeredimage janie:
if jlr == "right":
if jostate == "jsweater":

elif jostate == "jvalk":
elif jostate == "jwork":
elif jostate == "jbike":

group face:
attribute smile:
attribute mad:
attribute base:

Post Reply

Who is online

Users browsing this forum: Savage Bananas