主循环:
while mRunning: for event in pygame.event.get(): if event.type == pygame.QUIT: mRunning=False pygame.quit()必须要写成event.type要不退不出去,不生效