
Make Games with Python
Create Your Own Entertainment with Raspberry Pi
Sean M. Tracey(Author)
Raspberry Pi Press
2nd Edition
Published on 19. August 2025
Book
Paperback/Softback
160 pages
978-1-916868-46-5 (ISBN)
Description
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
More details
Edition
2nd edition
Language
English
Edition type
Revised edition
Product notice
Paperback (trade)
Unsewn / adhesive bound
Dimensions
Height: 210 mm
Width: 148 mm
Thickness: 12 mm
Weight
277 gr
ISBN-13
978-1-916868-46-5 (9781916868465)
Schweitzer Classification
Other editions
Additional editions

E-Book
07/2025
2nd Edition
Raspberry Pi Press
€4.49
Available for download
Person
Sean M. Tracey calls himself a technologist, which is a fancy way of saying he still hasn't decided what he wants to do with technology - other than everything. Sean has spent his career trying to avoid getting 'proper' jobs, and as such has had a hand in making a variety of fun and interesting projects, including a singing statue of Lionel Richie, wearable drum kits, chopstick bagpipes, timetelling hats, and a life-sized Elvis Presley robot, to name only a few.
Content
- Draw shapes and paths
- Animate shapes and paths
- Take control: keyboard, mouse, and gamepad
- Your first game
- Pygame soundboard
- Physics and forces
- Physics and collisions
- Fred's Bad Day
- The Aliens Are Trying to Kill Me!
- The Aliens Are Here and They're Coming in Waves!