Experimenting with different fonts
Justin Armstrong justinmeister@gmail.com
Mon, 31 Mar 2014 22:47:06 -0700
8 files changed,
6 insertions(+),
3 deletions(-)
M
data/components/textbox.py
→
data/components/textbox.py
@@ -22,7 +22,7 @@ self.item = item
self.bground = setup.GFX[image_key] self.rect = self.bground.get_rect(centerx=400) self.arrow_timer = 0.0 - self.font = pg.font.Font(setup.FONTS['Fixedsys500c'], 22) + self.font = pg.font.Font(setup.FONTS[c.MAIN_FONT], 22) self.dialogue_list = dialogue self.index = index self.image = self.make_dialogue_box_image()
M
data/constants.py
→
data/constants.py
@@ -25,5 +25,8 @@ LIGHT_BLUE = (0, 153, 204)
DARK_RED = (118, 27, 12) +MAIN_FONT = 'DroidSerif' + +
M
data/shopgui.py
→
data/shopgui.py
@@ -19,7 +19,7 @@ self.player_inventory = level.game_data['player inventory']
self.name = level.name self.state = 'dialogue' self.no_selling = ['Inn', 'Magic Shop'] - self.font = pg.font.Font(setup.FONTS['Fixedsys500c'], 22) + self.font = pg.font.Font(setup.FONTS[c.MAIN_FONT], 22) self.index = 0 self.timer = 0.0 self.allow_input = False