I've been struggling with this one - I want to make the font for the main menu completely different to the font used in the interface font used within the game, but I cannot figure out how as it seems to be that these need to be one and the same.
So, I declared a new gui font variable in gui.rpy alongside the interface font:
Code: Select all
## The font used for out-of-game text.
define gui.interface_text_font = "Fonts/PoetsenOne-Regular.ttf"
## The font used for the main menu??
define gui.menu_text_font = "Fonts/JandaEverydayCasual.ttf"Code: Select all
## The font used by the button.
define gui.button_text_font = gui.interface_text_font
define gui.menu_button_text_font = gui.menu_text_fontI'm a little confused about how the GUI and Screen settings work to be honest, as a lot of the time the styles they seem to stipulate inheriting don't seem to exist. For example in screen.rpy there's this line:
Code: Select all
style main_menu_text:
properties gui.text_properties("main_menu", accent=True)Thank you!