Page 1 of 1

Rain Effects with Conditional Switch

Posted: Fri Jan 12, 2018 4:27 am
by SeeingStars
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:
    "background.png"
    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