Skip to content

Commit

Permalink
proper resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfriedE committed May 13, 2016
1 parent ae96046 commit 00b9e7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PyCut.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def main():
pygame.init()
pygame.display.set_mode((0, 0), pygame.RESIZABLE)
pygame.display.set_mode((1200, 900), pygame.RESIZABLE)
game_instance = PyCut()
game_instance.run()

Expand Down
5 changes: 2 additions & 3 deletions game/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ class PyCutGame():
def __init__(self):
self.data = None
#pre-inits for pygame?
pygame.mixer.pre_init(44100, -16, 1, 512*2)
pygame.display.init()
pygame.display.set_mode((1200, 900), pygame.RESIZABLE)
pygame.font.init()
pygame.mixer.init(44100)
########################
self.screen = pygame.display.get_surface()
self.width = 1000
self.width = 1200
self.height = 900
self.fps = 15
self.title = "PyCut"
Expand Down

0 comments on commit 00b9e7e

Please sign in to comment.