Working with Ren’Py:
- Part 1: Downloading and Configuring
- Part 2: Editing and Creating Characters
- Part 3: Scenes and Showing Images
- Part 4: Menus, Labels, and Jumps
- Part 5: Variables and Conditional Statements
- Part 6: Transitions
- Part 7: Building Distributions
- Part 1: Screen Language
- Part 2: Position Style Properties
- Part 3: Animation and Transformation Language
- Part 4: Text and Button
- Part 5: Bar and VBar
- Part 6: Textbutton and Imagebutton
- Part 7: Input, Key, and Mousearea
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.
Used throughout the examples in the screen language and position style properties sections, text has the most ability and extendable options. It supports escaping characters, interpolating data, and styling using tags.
Commonly escaped characters like the double-quote, “, and single quote, ‘, can be escaped through using the backslash with the character within the text.
Text in Ren’Py supports the ability to show the value of a variable. This is called interpolating.
Through including brackets around the name of a variable, its value will be shown
Text in Ren’Py supports many different style tags.
Style tags start with braces and then are based on their letter or special keyword. They affect the text between their owning and closing usage.
A button is one of several different types of interactive elements in Ren’Py. Like other elements, it is defined through different style and interactive properties. (Created buttons can also use the built-in styles.)
Unless otherwise set, buttons will not react to user input. Using the hover, idle, or selected properties can help set the exact interaction wanted.