Pygame4
In this article we will organize the code we have so far and add walls to our game. By the end of this article you will have all the tools you need to make a maze game!
This is a blog about developing games using Python and Pygame! I will post articles about new game features and projects. Please leave suggestions in the comments on how we can better these articles and games. Feel free to ask questions if something I discussed in an article is unclear! Thanks and happy programming :)
In this article we will organize the code we have so far and add walls to our game. By the end of this article you will have all the tools you need to make a maze game!
In this article we will create a small inventory that can hold up to 8 items. We will also discuss how to blit text to the display surface.
In this article we will add items, add a background image(you can change it back to the solid green color later if you would like), talk about sprites, talk about sprite groups, and briefly discuss how to add sound effects.
Download the Pygame0 folder for the code discussed in this article. In this tutorial I will go more in detail on the methods we added to the Player class previously. If you feel like you already understand the Player class, or simply do not care, feel free to skip to the next tutorial! No new features will be added in this article.