Pygame
This page serves as an introduction to important Pygame concepts. The format of each tutorial is mostly follow along with the video, pausing when necessary to catch up, attempting the embedded challenges and exercises and then attempting the additional questions to build upon and solidify the skills learned in the video.
To install Pygame on your own computer you can check out the official Pygame - Getting Started page.
- Pygame Template
- Pygame Cheatsheet
- Intro to Pygame
- Drawing Shapes
- Health Bars
- Compound Shapes
- Landscape Lab
- Bouncing Ball
- Click for Points
- Keyboard Movement
- Scene Switching
- Rects and Collision
- Two-Player Clicky Game Lab
- Dragging Objects
- Importing Images
- Fishy-Feed Lab
- Lists in Pygame
- Draw Tree Function
- Using Classes to Store Data
- Instance Methods
- Container Encapsulation and Inheritance Lab
- Floating Info Text Lab
- Building a class-based Pygame Framework