diff options
Diffstat (limited to 'data/graphics/lines')
-rw-r--r-- | data/graphics/lines | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/graphics/lines b/data/graphics/lines index 682ab37..c0faf93 100644 --- a/data/graphics/lines +++ b/data/graphics/lines @@ -1,6 +1,6 @@ # lines: make lots of lines on the screen -import sys,pygame +import pippy, pygame, sys from pygame.locals import * from random import * @@ -32,7 +32,7 @@ mvect_end = [choice((-1,1)) * randint(1,3), choice((-1,1)) * randint(1,3)] color = [randint(0,255), randint(0,255), randint(0,255)] direction = [choice((-1,1)), choice((-1,1)), choice((-1,1))] -while 1: +while pippy.pygame.next_frame(): for event in pygame.event.get(): if event.type == QUIT: |