Python and Pygame Game Development Guide
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Python 基本语法、想做出第一个图形游戏的初学者
- 对 2D 小游戏有兴趣、希望读懂完整项目代码的自学者
- 需要以游戏为载体组织编程实践课的中小学与培训机构教师
- 想了解游戏循环、事件处理、Surface 绘制等基础机制的非游戏从业程序员
Not a good fit for
- 完全没有编程基础、尚未写过函数与循环的读者
- 希望学习 3D 图形、物理引擎或联网对战等进阶技术的开发者
- 只想要现成游戏框架与工具链、不愿读长段源码的人
- 必须使用最新 Python 与 Pygame 版本、要求代码开箱即用者
Reading tips
- 先按第1章在自己系统上装好 Python 与 Pygame,并用官方示例程序确认环境可用,再开始读正文。
- 不要只看代码,务必亲手敲一遍,并故意改坏某几行观察报错,理解 assert 与异常信息的含义。
- 每章先不看讲解,尝试根据玩法自行设计思路,再对照书中实现,比较两种方案的差异。
- 遇到新版 Python/Pygame 的兼容报错时,对照当前官方文档逐条修改,把调试过程记成笔记。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 Installing Python and Pygame
- Chapter 2 Pygame Basics
- Chapter 3 The Memory Puzzle Game
- Chapter 4 Slide Puzzle
- Chapter 5 Simulate
- Chapter 6 Wormy
- Chapter 7 Tetromino
- Chapter 8 Squirrel Eat Squirrel
- Chapter 9 Star Pusher
- Chapter 10 Four Other Games
- Glossary
FAQ
这本书适合零基础学 Python 的人吗?
书中示例游戏有哪些?
这本书和作者另一本《Python编程快速上手》有什么区别?
书中的代码现在还能直接运行吗?
学完能做出什么水平的游戏?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.