Customizing Ren’Py: Part 2: Editing gui.rpy


Working with Ren’Py:

Advanced Ren’Py:

Customizing Ren’Py:

Ren’Py + Python:

Ren’Py is a engine for creating visual novels. It comes with a suite of tools for taking code and transforming it into programs that can be run on Windows, Mac, Linux, and even, with a little more work, mobile platforms like Android and iOS.

Beyond the showing of text and images, Ren’Py can also be extended through introducing new user interface elements, changing its defaults images, and combining Python with its own code to create even more interactive projects.



Screenshot 2018-07-17 11.17.41

Lines 21 – 52 contain the lines that define the colors of various user interface elements.

Fonts and Font Sizes

Screenshot 2018-07-17 11.18.05

Lines 55 – 83 contain the lines defining the the different text options.

Main and Game Menus

Screenshot 2018-07-17 11.18.28

Lines 85 – 90 define the images used for the main and game menu backgrounds.


Screenshot 2018-07-17 11.18.46

Starting a line 92 is a section defining the options for dialogue.



Screenshot 2018-07-17 11.19.16

Starting at line 142, the options for defining buttons are listed.

Choice Buttons

Screenshot 2018-07-17 11.19.55

Starting at line 201, the options for defining choice buttons are listed.

File Slot Buttons

Screenshot 2018-07-17 11.20.21

Starting at line 216, the options for defining file slot are listed.

Positioning and Spacing

Screenshot 2018-07-17 11.20.39

Starting at line 241, the options for defining positions and spacing are listed.



Screenshot 2018-07-17 11.21.02

Starting at line 278, the options for defining frames are listed.

Bars, Scrollbars, and Sliders

Screenshot 2018-07-17 11.21.14

Starting at line 299, the options for defining Bars, Scrollbars, and Sliders are listed.


Screenshot 2018-07-17 11.22.01

Starting at line 332, the options for defining History options are listed.