This article is a compilation of the various tutorials on Pygame available on CodersLegacy. We have tutorials on just about every Pygame topic and feature. For your convenience, we have sorted the pygame tutorials into subgroups and also listed which tutorials beginners should start with.
More tutorials are constantly being added to the below list. Suggestions for new tutorials to be added into this list can be made in the comments section below.
A set of compulsory topics which every Pygame user should know about.
- Introduction to Pygame
- Pygame Surface creation
- Create and manage Rects
- Pygame Keyboard Input
- Mouse Click and Detection
- Pygame UserEvents (Creating custom events)
- Collision Detection between Sprites
- Pygame Font and Text
- Pygame Mixer – Sound and music
- Drawing Shapes in Pygame
- Creating Buttons in Pygame
- Create a Menu in Pygame
- Text input in Pygame
- How to improve Performance in Pygame
These Pygame Projects are great for learning as they cover every major concept and feature in Pygame. They are also a great way of understanding to learn about Game design and how to practically implement pygame to create games.
Miscellaneous Pygame Tutorials
- Change Icon on Pygame Window
- Scrolling backgrounds
- Create a Text Input Box
- Displaying FPS (Frames per second)
- Rotating Images in Pygame
- Resizing Images
This marks the end of the Pygame Tutorials for Beginners Series. Any suggestions or contributions for CodersLegacy are more than welcome. Questions regarding the tutorial content can be asked in the comments section below.