itch.io is community of indie game creators and players

Devlogs

RenPy tutorial: Changing fonts, font size and textbox

Minotaur Hotel
A downloadable game for Windows, macOS, Linux, and Android

Nanoff here.
While MinoAnon and the writers are slaving away at 0.5, I have most of the art assets already done and have been doing a much needed code clean up. While I was doing it, I figured I might make a small tutorial for one of the features we added in 0.3.5:


In this tutorial you'll learn how to add the option to increase the font size in your textbox, add an option to include and switch between additional fonts, and have the textbox accomodate for these changes.

Another thing I see a lot with VNs that use the default renpy UI is the following issue:

The fucking textbox cropping out text on Android versions. It's a pet peeve of mine that can be avoided without having to go over the entire game and checking which lines break the android version, and here's how:

Improved Renpy Textbox by nanoff

Here's a link to a sample project applying these changes.

Hope this is helpful! On the subject of 0.5, it's going to be a big one, so please be patient.

Download Minotaur Hotel
Read comments (5)