Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorAlex <alex@Tiresias.(none)>2008-07-07 21:37:10 (GMT)
committer Alex <alex@Tiresias.(none)>2008-07-07 21:37:10 (GMT)
commit961eee131538f4c7eccf37aa9469b7b3118c4fcb (patch)
tree03717c90aeaac4add2fcd2e2ed491b888e7b4ba7 /activity.py
parentea96074aa4f9b273b8dd57e66c83c69b5a1242c3 (diff)
Changed the screen size to be dynamic
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py2
1 files changed, 1 insertions, 1 deletions
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