This page is out of date

You've reached a page on the Ren'Py wiki. Due to massive spam, the wiki hasn't been updated in over 5 years, and much of the information here is very out of date. We've kept it because some of it is of historic interest, but all the information relevant to modern versions of Ren'Py has been moved elsewhere.

Some places to look are:

Please do not create new links to this page.


Static Noise Background Effect

This special effect will add a TV-static animation to the background. This same method can also be used to add a film grain or static effect to the foreground.

The first step is to open an image editor such as Photoshop and create a white, screen-sized background. Next, add 300% noise of the Uniform, Monochromatic variety to a few separate ones and save them individually so you have dark black noise on a white background.

Image 1
Image 2
Image 3
Image 4
Next, we want to create an animated image showing them in a sequence and repeating indefinitely.

image static:
    "noise1.png" with Dissolve(0.2)
    0.2
    "noise2.png" with Dissolve(0.2)
    0.2
    "noise3.png" with Dissolve(0.2)
    0.2
    "noise4.png" with Dissolve(0.2)
    0.2
    repeat

If the static changes too slow for your taste, change the 0.2 to a lower value, like .15 or .1

To use this, you just call it like this whenever you wish to show static in-game.

show static

Film Grain/Static Noise Foreground Effect

You can also add the image in front of the characters and/or background in order to imitate the grain of an old film or a disrupted signal.

1) Create a new texture layer by adding this to options:

config.layers = [ 'master', 'texture', 'transient', 'screens', 'overlay' ]

2) Change Dissolve(0.2) to Dissolve(0.2, alpha=True)

3) Lower the opacity of the static images in your image editor to 10%.

4) Show the image by using:

show image "static" onlayer texture

5) Hide the image again by using:

hide image "static" onlayer texture