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 :)
Sunday, November 16, 2014
Friday, August 8, 2014
Building Walls and Cleaning House - Pygame4
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!
Friday, August 1, 2014
Font Objects and Taking Inventory - Pygame3
Pygame3
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.
Friday, July 25, 2014
Items, Sounds, and Backgrounds - Pygame2
Pygame2
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.
Thursday, July 17, 2014
Understanding the Player Class - Pygame1
Pygame1
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.
Friday, July 11, 2014
Introduction to Pygame - Pygame0
Pygame0
Prerequisites for understanding these articles.
You will need to have Python 2.7 and the most recent version of Pygame installed on your computer to run the game we are making! I am using Python 2.7.7 and Pygame 1.9.1 in this article.Basic knowledge of Python 2.7 is necessary to follow the progress of our game and to implement the various tools of Pygame in your own projects. If you have no prior experience using Python I highly recommend going to these sources to learn the basics.
- Python: Learn Python in One Day and Learn It Well. Python for Beginners with Hands-on Project. (Learn Coding Fast with Hands-On Project Book 1)
- Codecadamy
- MIT 6.00x
- Python-Guide.org