Page 1 of 1

Change font mid-game

Posted: Sat Jun 13, 2020 6:23 pm
by Kosmo
In gui.rpy I changed text font with preference:

Code: Select all

define gui.text_font = gui.preference("font", "fonts/BalsamiqSans-Regular.ttf")
In game I try to change this preference like this:

Code: Select all

$ gui.SetPreference("font", "fonts/Lobster-Regular.ttf")
But the font doesn't change. No errors. Both fonts are in "fonts" folder. What may be the problem here?

Re: Change font mid-game

Posted: Sun Jun 14, 2020 10:30 am
by isobellesophia

Re: Change font mid-game

Posted: Mon Jun 15, 2020 12:28 pm
by Kosmo
I know this, but tag works only for one line of dialogue.
I am looking for a way to change font for big chunk of game.