Hash :
ede55b2c
Author :
Date :
2021-10-05T21:26:05
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
renpy.register_bmfont("bmfont", 22, filename="bmfont.fnt")
# Resize the background of the text window if it's too small.
init python:
style.window.background = Frame("frame.png", 10, 10)
----------------------------------------------------
[
["keyword", "renpy"],
["punctuation", "."],
["function", "register_bmfont"],
["punctuation", "("],
["string", "\"bmfont\""],
["punctuation", ","],
["number", "22"],
["punctuation", ","],
" filename",
["operator", "="],
["string", "\"bmfont.fnt\""],
["punctuation", ")"],
["comment", "# Resize the background of the text window if it's too small."],
["keyword", "init"],
["keyword", "python"],
["punctuation", ":"],
["keyword", "style"],
["punctuation", "."],
["tag", "window"],
["punctuation", "."],
["property", "background"],
["operator", "="],
["function", "Frame"],
["punctuation", "("],
["string", "\"frame.png\""],
["punctuation", ","],
["number", "10"],
["punctuation", ","],
["number", "10"],
["punctuation", ")"]
]