Trying to figure out how Ren'Py works

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.
Message
Author
yummy
Miko-Class Veteran
Posts: 733
Joined: Fri Jul 07, 2006 9:58 pm
Projects: Suna to Majo
Location: France
Contact:

#16 Post by yummy »

:idea: Dug up into Ren'py libraries and found out that the Fade method could handle the whole overexposure effect.
Actually you could still use sub images in order to magnify the effect :)

Code: Select all

Fade(out_time, hold_time, in_time,
         old_widget=None, new_widget=None,
         color=None,
         widget=None,
         ):
The interesting parts in this effect are the in_time and the color parameters.

So if we play with this function:

Code: Select all

scene room normal
show room overexposed with Dissolve(0.2)
show white_image with Dissolve(0.2)
scene room normal with Fade(.5, 0, 3, old_widget=None, new_widget=None, color=(255,255,255), widget=None)
Hope that it helps :)

edit:
How can I use the config.say_sustain_callbacks variable?

Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot]