- static 800x600 for now

master
Steve Clement 2014-08-31 01:15:03 +02:00
parent 7d47746e7d
commit 5056573c75
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)