I'm having a bit of a problem with this one. I have a screen in my game which is basically an open notepad with the main character's notes in. I want to use a specific font for these notes but I don't want to have constantly define the font within the text statement, which is what I had done:
Code: Select all
text _("{font=Fonts/JandaEverydayCasual.ttf}My text goes here{/font}")gui.rpy:
Code: Select all
define gui.notebook_text_font = "Fonts/JandaEverydayCasual.ttf"Code: Select all
init python:
def nbText(message):
return text message size 18 font gui.notebook_text_font
Code: Select all
$ nbText("I think she likes me!")