While millions of us enjoy nothing more than spending hours racking up high scores on our favourite video games, too few are exposed to an even more gratifying way to spend time - making them. This book teaches Python and Pygame development, helping you to understand the games you play and create almost anything your imagination can come up with.
Learning to code your own shoot-'em-up game is infinitely more satisfying than beating any end-of-level boss.
This essential guide teaches how to develop games with Python and Pygame. Gain a better understanding of the games you play, and build the skills to create games of your own, including how to:
- Create shapes and paths
- Move sprites and detect collisions
- Handle keyboard, mouse, and gamepad input
- Add sound and music
- Simulate physics and forces
Tested to run on the latest Raspberry Pi hardware and operating system, the games and instructions in this book work on Windows, macOS, or Linux.
The Raspberry Pi Essentials series offers concise, hands-on learning to the most popular activities for Raspberry Pi's computers and add-on boards. Also available in the series:
- Conquer the command line
- Simple electronics with GPIO Zero
- AI projects with Raspberry Pi
- Experiment with the Sense HAT