Make games with Python, 2nd edition — out now!
Millions of us enjoy nothing more than spending hours racking up high scores on our favourite video games. But too few engage in an even more gratifying way to spend time — making them! The latest book from Raspberry Pi Press is the second edition of Sean M. Tracey’s Make games with Python, and we hope it inspires you to create games of your own.

Go from gamer to game developer
The Pygame library makes it easy to create games and interactive software with Python. In this book, you’ll learn the Pygame way to draw on screen, animate objects, react to user input, play sounds, and model physics and forces. Each chapter will add to your knowledge of Python game development, and along the way, you’ll gain a better understanding of the games you play. Not only that — you’ll learn enough to create almost any game you can imagine.

As you work your way through the book, you’ll learn how to create shapes and move them on screen. From there, you’ll learn how to turn shapes into sprites — the characters, obstacles, and enemies in your game. You’ll make your sprites obey laws of physics that you define, and write code to react to collisions between sprites. In the final two chapters of the book, you’ll create your own shoot-em-up game and save the galaxy from invading enemies!

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.
Get your copy today
Although we didn’t design this book for complete beginners to programming, beginners won’t find it too advanced either. This new title is now available at our online store — and in the offline store — for £13.99. You can also find it on Amazon UK or Amazon US. If you’ve written simple programs in Python (or a similar programming language) and can perform basic administrative tasks (creating files and navigating your computer’s file system) without too much difficulty, then you’re ready to get started.
4 comments
Archisman Panigrahi
Previously, all the official books related to Raspberry Pi were freely available to download (while the physical copy could be bought), so that young people around the world could learn from them. Sadly, this is not the case anymore. While I understand there is a need to make money to keep things going, in my opinion, not having the free PDF download option is limiting the educational aspect of Raspberry Pi.
roms games
Which electronic speed controllers (ESCs) are compatible with python gaming
John Reebel
Prepare to be confused in several of the chapters if you don’t know trigonometry.
romsflare
Which electronic speed controllers (ESCs) are compatible with Python-based gaming applications and programmable control systems, and how can they be integrated for real-time input handling, simulation, or game-driven hardware control?
Comments are closed