Mercurial > boomslang
diff gamelib/main.py @ 25:f9e697e0c6ba
Don't initialise the entire pygame
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 22 Aug 2010 18:14:05 +0200 |
parents | 9d5de13e2ac3 |
children | 0a68d137f509 |
line wrap: on
line diff
--- a/gamelib/main.py Sun Aug 22 18:09:25 2010 +0200 +++ b/gamelib/main.py Sun Aug 22 18:14:05 2010 +0200 @@ -22,7 +22,8 @@ self.show_screen(self.menu_screen) def main(): - pygame.init() + pygame.display.init() + pygame.font.init() display = pygame.display.set_mode(SCREEN) shell = MainShell(display) shell.run()