030第12章 A SHIP THAT FIRES BULLETS_續7_PYGAME的文本
💛20230130 晨讀感言:
💔添加新功能前,快速回顧之前寫的程式 是有其必要的,可以讓你更清楚地掌握 程式發展過程 的架構。
💔可以看看Pygame的一些文檔(Pygame的[主頁](https://www.pygame.org/) 和,[文檔的主頁](https://www.pygame.org/docs/) )。這對於 想修改 現在在寫的遊戲程式 或 在之後製作你自己的遊戲時,會有幫助。
💛晨讀摘要:
💚245 Make sure you can quit by pressing Q before running the game in fullscreen mode; Pygame offers no default way to quit a game while in fullscreen mode.
💚245 A Quick Recap:In the next section, we’ll add the ability to shoot bullets, which involves adding a new file called bullet.py and making some modifications to some of the files we’re already using. Right now, we have three files containing a number of classes and methods. To be clear about how the project is organized, let’s review each of these files before adding more functionality.
from:《python crash course》
喜欢我的作品吗?别忘了给予支持与赞赏,让我知道在创作的路上有你陪伴,一起延续这份热忱!
- 来自作者
- 相关推荐