Reference Manual: (offline | online) Quickstart: (offline | online)

Configuration Variables

Much of the the configuration of Ren'Py is done using configuration variable. These variables, when assigned in a python block, change the behavior of the interpreter. As configuration variables aren't saved, and many need to be set before the GUI initializes, it makes sense to set all configuration variable inside init blocks. An example setting of variables is:

init:
    $ config.screen_width = 640
    $ config.screen_width = 480

Variable: config.scene = renpy.scene

A function that's used in place of renpy.scene by the scene statement. Note that this is used to clear the screen, and config.show is used to show a new image. This should have the same signature as renpy.scene .

Variable: config.show = renpy.show

A function that is used in place of renpy.show by the show and scene statements. This should have the same signature as renpy.show .

Reference Manual: (offline | online) Quickstart: (offline | online)