Merge branch 'master' of github.com:lvl2/avocados

master
David Raison 2014-08-31 01:15:27 +02:00
commit 0bbda0fd42
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class TheGame:
self.WIDTH = int(displayInfo.current_w / self.resize) self.WIDTH = int(displayInfo.current_w / self.resize)
self.HEIGHT = int(displayInfo.current_h / self.resize) self.HEIGHT = int(displayInfo.current_h / self.resize)
self.WIDTH, self.HEIGHT = 800, 600
# initialize the game canvas # initialize the game canvas
self.size = (self.WIDTH, self.HEIGHT) self.size = (self.WIDTH, self.HEIGHT)
self.screen = pygame.display.set_mode(self.size) self.screen = pygame.display.set_mode(self.size)