[solved] Darkening Non-Speaking Sprites

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
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

[solved] Darkening Non-Speaking Sprites

#1 Post by Kaen » Fri Nov 11, 2016 1:44 pm

Hello!

I'd like to darken the sprites of characters that are not speaking, like on this image:

Image

There's a way to do this automatically? I'd like to avoid changing them manually like this:

Code: Select all

show lucy darkened
show eileen normal
eileen "Lucy is darkened."

show eileen darkened
show lucy normal
lucy "Now Eileen is darkened."
Thanks in advance!
Last edited by Kaen on Sun Nov 27, 2016 8:21 am, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1898
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
Projects: Slumberland
Location: Brazil
Contact:

Re: Darkening Non-Speaking Sprites

#2 Post by Donmai » Fri Nov 11, 2016 2:30 pm

I've seen some threads about that. Never tested it, though.
viewtopic.php?f=8&t=38231
viewtopic.php?f=8&t=35367
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

Re: Darkening Non-Speaking Sprites

#3 Post by Kaen » Fri Nov 11, 2016 3:06 pm

Thanks Donmai!

I guess using _last_say_who with ConditionSwitch will do the magic.

Post Reply

Who is online

Users browsing this forum: No registered users