From 961eee131538f4c7eccf37aa9469b7b3118c4fcb Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 07 Jul 2008 21:37:10 +0000 Subject: Changed the screen size to be dynamic --- diff --git a/activity.py b/activity.py index 68a2d8c..a9fe70d 100644 --- a/activity.py +++ b/activity.py @@ -283,7 +283,7 @@ class DestroyTool(Tool): world.world.DestroyBody(tokill[0]) # set up pygame pygame.init() -size = (700,700) +size = (pygame.display.list_modes()[0]) screen = pygame.display.set_mode(size) clock = pygame.time.Clock() font = pygame.font.Font(None, 24) # font object -- cgit v0.9.1