Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

my pygame window wont stay open

running = True
while running:
  for event in pygame.event.get():
    if event.type == pygame.QUIT:
      running = False
Source by www.petercollingridge.co.uk #
 
PREVIOUS NEXT
Tagged: #pygame #window #wont #stay #open
ADD COMMENT
Topic
Name
2+3 =