Rain Effects with Conditional Switch

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: 5
Joined: Wed Apr 12, 2017 5:16 pm

Rain Effects with Conditional Switch

#1 Post by SeeingStars » Fri Jan 12, 2018 4:27 am

Hi all,

I'm trying to add weather effects into my project. The basic code here (viewtopic.php?f=8&t=7423) works fine whenever I'm using show statements as such:

Code: Select all

show background
show rain
However, my game uses image statement blocks as part of a conditional switch for all backgrounds and the problem occurs here:

Code: Select all

image background_rain:
    contains rain
I've tried multiple other statements like parallel, but the end result is the rain animation playing over a blank background (the "background.png" is not showing). Is there anyway to make both appear as part of a single image statement block?

Thank you

Post Reply

Who is online

Users browsing this forum: No registered users