Level: Intermediate/Advanced.

Duration: 3 weeks (6 full lessons + final project).

Format: Video lessons, code templates, homework assignments, final project.

Cost: $89

About the course

This course is for those who want to not just learn, but create their own 2D games on Raspberry Pi. We will use the Pygame library and focus on the game cycle, controls, graphics, and interaction with controllers. All training is done on live code, without unnecessary theory.

Course topics and content

  1. Basics of working with Pygame
  • Installing Pygame on Raspberry Pi;
  • Main components of the game scene;
  • Creating a window, setting resolution and background;
  • Initializing objects, events, and the game loop.

Goal: Understand how the basic structure of a 2D game is built.

  1. Creating a simple arcade game
  • Creating a controllable player (sprite);
  • Handling collisions and screen boundaries;
  • Simple game logic: points, lives, levels;
  • Sound effects and music in the game.

Example: A game in which the player avoids falling objects or collects bonuses.

  1. Working with controllers and keyboard
  • Processing keyboard input;
  • Connecting a USB gamepad to Raspberry Pi;
  • Configuring buttons and events (pygame.joystick);
  • Reactions to player actions: jumping, shooting, moving.

Goal: Make the game easy to play with both a keyboard and a gamepad.

  1. Rendering graphics and sprites
  • Working with sprites and animation;
  • Displaying images and background layers;
  • Simple particle and effects system;
  • Display optimization (FPS, anti-aliasing).

Goal: Make the game visually appealing and smooth on Raspberry Pi.

  1. Final project: your own 2D game
  • Designing your game from scratch;
  • Choosing a genre (arcade, platformer, shooter);
  • Implementing game mechanics;
  • Testing on Raspberry Pi with a connected gamepad;
  • Building and exporting.

Result: You will have your own working mini-game that you can show to friends or include in your portfolio.

As a result, you will:

  • Master the Pygame library in practice;
  • Write your first game from scratch;
  • Understand how to process input and render graphics;
  • Connect and use controllers in Python;
  • Receive a certificate and a finished mini-project.