if event.key == K_ESCAPE or event.key == ord('q'): ¬¬¬¬ pygame.quit() ... In the next chapter, we will re-visit this platformer and add an animated sprite ...
確定! 回上一頁