How do you fade out a background but maintain sprite?

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
Obscura
Eileen-Class Veteran
Posts: 1431
Joined: Fri Mar 09, 2012 6:58 pm
Projects: Coming Out On Top
Location: United States
Contact:

How do you fade out a background but maintain sprite?

#1 Post by Obscura »

So, let's say you have:

background school
+
character named Jane

You want to fade out the school background to a city background, but keep character Jane exactly where she is (no fade out).

How do you do this?

Thanks for any advice!
Coming Out On Top - An Adult Gay Dating Sim
website

User avatar
eesy
Regular
Posts: 39
Joined: Mon May 14, 2012 3:30 am
Contact:

Re: How do you fade out a background but maintain sprite?

#2 Post by eesy »

probably this

Code: Select all

    a "Maybe this.."
    show anne normal
    a "Does it work?" 
    show bg club with dissolve
    show anne normal
    r "I think so."
I'm epic noob!

User avatar
Obscura
Eileen-Class Veteran
Posts: 1431
Joined: Fri Mar 09, 2012 6:58 pm
Projects: Coming Out On Top
Location: United States
Contact:

Re: How do you fade out a background but maintain sprite?

#3 Post by Obscura »

OMG so simple. Thank you from the bottom of my heart, eesy!!!!
Coming Out On Top - An Adult Gay Dating Sim
website

User avatar
eesy
Regular
Posts: 39
Joined: Mon May 14, 2012 3:30 am
Contact:

Re: How do you fade out a background but maintain sprite?

#4 Post by eesy »

glad it works! ^^
I'm epic noob!

Post Reply

Who is online

Users browsing this forum: Ocelot