![]() ![]() It failed during the installation withat fatal error: 'SDL.h' file not found #include "SDL.h" ^~~~~~~ 1 error generated. It is distributed through pip, using pip install pgzeroīut I had troubles with my Mac. I finally found some time to dive into, and the first step was to install Pygame Zero, a library to create games on top of Pygame. ![]() Simply navigate to your package manager, search for pgzero and press install Thonny If you're using Thonny, select Tools > Manage Packages and search for pgzero. Find out how to install Pygame Zero here. You do this in the same way you previously installed the Phidget22 library. It just lists the source code.Īnyway, it’s a great way to start your Python game development adventure. In order to use Pygame Zero, you first have to install it. The book does not actually explain how to build those games, unfortunately. That’s a very nice book, you can download it for free at the link I provided above and you can find the code of the games built in the book on GitHub at. It’s an awesome book that talks about some classic games, including Sensible Soccer and Centipede, and then proceeds to creating a clone of those games with Python. A few months ago I bought a book from Raspberry Pi Press called Code the Classics. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |