Fade character when another is talking

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
dragonlord3989
Regular
Posts: 30
Joined: Tue Nov 17, 2015 1:34 pm
Contact:

Fade character when another is talking

#1 Post by dragonlord3989 »

So what I want to do is make it so when person a is speaking person b goes a slight shade of black and when it is their turn to speak person a goes dark is this possible?

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Fade character when another is talking

#2 Post by Donmai »

Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

dragonlord3989
Regular
Posts: 30
Joined: Tue Nov 17, 2015 1:34 pm
Contact:

Re: Fade character when another is talking

#3 Post by dragonlord3989 »

So I read over that and I got what I wanted but I have a problem where one of the live comp images is getting shrunk is there a way to fix it

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Fade character when another is talking

#4 Post by Donmai »

Show the relevant part of your script here, and people will surely try to help.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

dragonlord3989
Regular
Posts: 30
Joined: Tue Nov 17, 2015 1:34 pm
Contact:

Re: Fade character when another is talking

#5 Post by dragonlord3989 »

Code: Select all

                                        (0, -120), ConditionSwitch(
                                            "rope == 'rope'", "characters/steve/hang/Rope.png",
                                            "rope == 'none'", "characters/steve/none.png",
                                            ),       
Image

but when I use this it fades but moves the rope

Code: Select all

    image stevealpha:
        Flatten("steve")
        alpha 0.6

    image stevecomp = AlphaBlend("stevealpha", "steve", Solid("#000"), alpha=True) 
Image

Post Reply

Who is online

Users browsing this forum: No registered users