def PauseUntilKeyboard():
while 1:
e = pygame.event.wait()
if e.type in (pygame.QUIT, pygame.KEYDOWN):
return
yanom @linuxmail.org wrote:
This probably seems like a dumb and obvious question, but I'm new to pygame, so... How do I build a pause function into the game?