Skip to content

Commit 7907ec7

Browse files
refactor(fonts): move fonts from gui to game
1 parent b8adad3 commit 7907ec7

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

game/gui.rpy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ define gui.interface_text_color = '#a9a9a9'
5757
## Fonts and Font Sizes ########################################################
5858

5959
## The font used for in-game text.
60-
define gui.text_font = "gui/font/pressstart.ttf"
60+
define gui.text_font = "fonts/pressstart.ttf"
6161

6262
## The font used for character names.
63-
define gui.name_text_font = "gui/font/pressstart.ttf"
63+
define gui.name_text_font = "fonts/pressstart.ttf"
6464

6565
## The font used for out-of-game text.
66-
define gui.interface_text_font = "gui/font/pressstart.ttf"
66+
define gui.interface_text_font = "fonts/pressstart.ttf"
6767

6868
## The size of normal dialogue text.
6969
define gui.text_size = 45

game/main_menu.rpy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ screen main_menu():
6161
xalign 0.5
6262
yalign 0.45
6363
size 70
64-
font "gui/font/pressstart.ttf"
65-
color "#FFFFFF"
66-
outlines [(2, "#000000")]
64+
font "fonts/pressstart.ttf"
65+
color "#fff"
66+
outlines [(2, "#000")]
6767

6868
hbox:
6969
spacing 200

game/screens.rpy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ style say_label:
158158
yalign 0.5
159159

160160
style say_dialogue:
161-
font "gui/font/chonkybitsbold.otf"
161+
font "fonts/chonkybitsbold.otf"
162162
color "#232323"
163163

164164
xpos gui.dialogue_xpos
@@ -236,7 +236,7 @@ style choice_button is default:
236236

237237
style choice_button_text is default:
238238
properties gui.text_properties("choice_button")
239-
font "gui/font/chonkybitsbold.otf"
239+
font "fonts/chonkybitsbold.otf"
240240
color "#3a3a3a"
241241

242242

0 commit comments

Comments
 (0)