Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

exit a pygame program

running = Truewhile running:  for event in pygame.event.get():    if event.type == pygame.QUIT:      running = False
Source by www.petercollingridge.co.uk #
 
PREVIOUS NEXT
Tagged: #exit #pygame #program
ADD COMMENT
Topic
Name
1+2 =