From 00b9e7e77d111f8c8a15f9cc1fa40ff99709da15 Mon Sep 17 00:00:00 2001 From: Wilfried Hounyo Date: Thu, 12 May 2016 23:56:39 -0400 Subject: [PATCH] proper resolution --- PyCut.py | 2 +- game/__init__.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/PyCut.py b/PyCut.py index b5cf40a..e113b35 100755 --- a/PyCut.py +++ b/PyCut.py @@ -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() diff --git a/game/__init__.py b/game/__init__.py index ebac4df..be6bd36 100644 --- a/game/__init__.py +++ b/game/__init__.py @@ -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"