标签:run game lse type event eve pygame for quit
主循环:
while mRunning:
for event in pygame.event.get():
if event.type == pygame.QUIT:
mRunning=False
pygame.quit()
必须要写成event.type要不退不出去,不生效
标签:run game lse type event eve pygame for quit
原文地址:https://www.cnblogs.com/zhifeiji822/p/12654897.html