YOUR LEARNING PATH

One little step at a time.

From an empty window to a game of your own. You'll need a little Python (variables, if, loops). The first level of every chapter is always open, so feel free to skip ahead.

0%
0 of 29 levels complete
CHAPTER 1UP NEXT

Your first window

Open a window, paint it, show it. Every pygame program starts here.

0/3
1. Hello, window
2. Show it
3. Name your window
CHAPTER 2

Colors and coordinates

Mix any color from red, green and blue, and learn where (0, 0) is.

0/2
1. Mix a color
2. Where is (0, 0)?
CHAPTER 3

Drawing shapes

Rectangles, circles and polygons: build a little scene.

0/3
1. Grass below
2. Here comes the sun
3. A roof over Noodle
CHAPTER 4

Patterns

Let loops and functions do the drawing: fences, checkerboards, rainbows, a forest.

0/4
1. The fence
2. Checkerboard
3. Rainbow
4. A little forest
CHAPTER 5

The game loop

Every game is a loop: handle events, update, draw, show. Again and again.

0/3
1. The game loop
2. Growing
3. Steady speed
CHAPTER 6

Movement

Speed, bouncing and gravity. Make things move like they mean it.

0/3
1. Roll along
2. Bounce
3. Gravity
CHAPTER 7

Images and sprites

Load pictures, place them with Rects, and bring Noodle into your game.

0/2
1. Say hi, Noodle
2. Dead center
CHAPTER 8

Keyboard and mouse

Hold keys to walk, press keys to jump, click to catch.

0/3
1. Walk, Noodle
2. Jump!
3. Catch the snack
CHAPTER 9

Collisions

When two Rects touch, something happens: snacks get eaten, walls stop you.

0/3
1. Snack time
2. A row of snacks
3. Stay inside
CHAPTER 10

Text and score

Put words and numbers on the screen with fonts.

0/2
1. A title screen
2. Keep score