This is the first book I bought when I needed to learn Python. I’ve always found it easier to learn a language against the backdrop of a game.
Since this was the first experience with Python, I spent quite a bit of time in the intro section. Had I not already had a decent background in programming in other languages the intro in this book probably wouldn’t have been enough. The intro is good, just very fast paced.
Once through the Python introduction the author gets into the game parts starting with a quick introduction to Pygame.
The book then goes through
- Creating images using the pygame drawing methods
- Making objects move
- Interacting with the player
- A very brief introduction to artificial intelligence for your enemy charactes
- Sounds
There are also a few chapters on 3D graphics, although I haven’t gotten into those yet.
Overall this is a book that’s pretty much always open when I’m working on a game in Python and worth the 25 or so bucks I spent on it.