Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
Kosmo
- Newbie
- Posts: 8
- Joined: Sat Jun 13, 2020 6:20 pm
-
Contact:
#1
Post
by Kosmo » Sat Jun 13, 2020 6:23 pm
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?
-
isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
-
Contact:
-
Kosmo
- Newbie
- Posts: 8
- Joined: Sat Jun 13, 2020 6:20 pm
-
Contact:
#3
Post
by Kosmo » Mon Jun 15, 2020 12:28 pm
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.
Users browsing this forum: Google [Bot]