- Oct 30, 2021
- 45
- 63
I haven't seen a lot of people include dyslexic fonts in their games so I figured I'd provide with a simple way of including it.
Inside of
It's a pretty simple way of including dyslexic fonts as an option for accessibility.
Also I'm a beginner in Ren'Py so please correct me if anything is wrong with the script.
Inside of
screens.rpy
in the preferences section below if.config.has_voice
put this:
Python:
vbox:
hbox:
box_wrap True
if renpy.variant("pc") or renpy.variant("web"):
vbox:
style_prefix "check"
label _("Fonts")
textbutton _("Default") action Preference("font transform", "dejavusans")
textbutton _("Dyslexic Font") action Preference("font transform", "opendyslexic")
null height (4 * gui.pref_spacing)
Also I'm a beginner in Ren'Py so please correct me if anything is wrong with the script.