Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Development Team/Sugargame/Examples
(view source)
Revision as of 12:25, 21 November 2009
1 byte added
,
12:25, 21 November 2009
→TestGame.py
Line 127:
Line 127:
elif event.type == pygame.VIDEORESIZE:
elif event.type == pygame.VIDEORESIZE:
pygame.display.set_mode(event.size, pygame.RESIZABLE)
pygame.display.set_mode(event.size, pygame.RESIZABLE)
−
+
# Move the ball
# Move the ball
if not self.paused:
if not self.paused:
Wade
273
edits