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.
It's a bit hard to explain why I want this like this, but basically I'm making a cinematic, and I want a custom fade transition to go under the custom "noise" layer, which is a layer that is used to constantly show multiple semi-transparent noise images to create the illusion of noise. I want this because the fade makes the noise go for a moment. Here is my current code:
define config.layers = ['bg', 'effect', 'master', 'transient', 'screens', 'overlay', 'noise']
define fadep = Fade(0.25, 0.0, 0.172916)
scene
show noise onlayer noise
show cinematic2
$ renpy.pause(10.268748)
with fadep
show tx02y01s30cps20 "I feel a bit dizzy" at blurout
$ renpy.pause(3)
hide tx02y01s30cps20
with fadep
$ renpy.pause(13.691664)
""
Edit: Solved. Solution was using Dict Transitions, though you do need to put some extra pauses, because they are independent on everything else and won't work as a transition but more like a short video for so to say. New code:
define fadepalt = { "overlay" : Fade(0.25, 0.0, 0.172916) }
scene
show noise onlayer noise
show cinematic2
$ renpy.pause(10.268748)
with fadepalt
$ renpy.pause(0.25)
show tx02y01s30cps20 "I feel a bit dizzy" at blurout
$ renpy.pause(3)
with fadepalt
$ renpy.pause(0.172916)
hide tx02y01s30cps20
with fadepalt
$ renpy.pause(13.691664)
""