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.

Showing and Hiding the Window

This doesn't work with current Ren'Py

This recipe lets you show and hide the window. When the window is show, it will always be shown, even during transitions. When it is hidden, transitions will occur without the window on the screen. (But note that if dialogue is shown with the window hidden, it will be shown during the dialogue.)

init python:
    show_window_trans = MoveTransition(0.25,
                                       1.0, None, 0.0)))

    hide_window_trans = MoveTransition(0.25,
                                       1.0, None, 0.0)))
    def hide_window():
        store._window_during_transitions = False
        narrator("", interact=False)

    def show_window():
        narrator("", interact=False)
        store._window_during_transitions = True

Use it like:

e "Let's go somewhere else!"

$ hide_window()

scene bg somewhere else
with dissolve

$ show_window()

e "We're here!"

You can change show_window_trans and hide_window_trans to change the effects that are used to show and hide the window.