RenPy tutorial: Changing fonts, font size and textbox
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.
Get Minotaur Hotel
Minotaur Hotel
The minotaur's side of the story.
Status | In development |
Authors | Minoh Workshop, Nanoff |
Genre | Visual Novel |
Tags | Adult, Bara, Dating Sim, Erotic, Furry, Gay, LGBT, NSFW, Romance, sex |
Languages | English |
Accessibility | Color-blind friendly |
More posts
- We Are Sponsoring the Melbourne Queer Games Festival!Aug 05, 2024
- Announcing Devil's Gambit's & Sex Drive's Release DatesNov 06, 2023
- Chapter 19 (Build 0.7) Release & ChangelogOct 27, 2023
- Minotaur Hotel Build 0.7 Release Date & Sex Drive BetaOct 25, 2023
- Build 0.7 Progress Report & Announcing a New ProjectJul 24, 2023
- March 2023 Progress ReportApr 08, 2023
- February 2023 Progress ReportFeb 20, 2023
- Bugfix: Build 0.6.2.2Nov 21, 2022
- Achievements and Lore Drops Bugfix: Build 0.6.2.1Oct 24, 2022
- The Feathered Line (Build 0.6.2) Release & ChangelogOct 14, 2022
Comments
Log in with itch.io to leave a comment.
Hi, I am really interested in looking at your code for the dyslexia friendly font and the text size change, but the links provided no longer work. Would it be possible to send me some code snippets? I really want to add more accessibility features to my Ren'Py game.
Thanks in advance!
Fuck me, the links must have expired.
I've reuploaded both the PDF with instructions AND the demo project and posted fresh links, so there you go.
I'm pretty sure more recent versions of RenPy have done their own implementation of OpenDyslexic though, so you might want to look at their documentation for that (still doesn't address the enlarged textbox issue which this tutorial does).
Thanks so much!
Thanks for all you do!! This game is great so I'll have patients for you to do whatever you need to do, much love to you, and keep up the amazing work!!