Advanced Ren’Py: Part 5: Bar and VBar

1_Logo

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.


 

Bar

Like buttons, bars are an user interactive element.

Bars are created in reference to their value and range. They can also be defined from other, existing objects to set these properties.

Screenshot 2018-07-11 07.32.49

Screenshot 2018-07-11 07.33.07

Bars can be used to both adjust values and also scroll content when used with a viewport.

Screenshot 2018-07-11 07.47.50

Screenshot 2018-07-11 07.48.28

 

VBar

vbar is the same as bar, but vertical instead of horizontal.

Screenshot 2018-07-11 07.52.44

Screenshot 2018-07-11 07.54.18