Your first window
Open a window, paint it, show it. Every pygame program starts here.
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.
Open a window, paint it, show it. Every pygame program starts here.
Mix any color from red, green and blue, and learn where (0, 0) is.
Rectangles, circles and polygons: build a little scene.
Let loops and functions do the drawing: fences, checkerboards, rainbows, a forest.
Every game is a loop: handle events, update, draw, show. Again and again.
Speed, bouncing and gravity. Make things move like they mean it.
Load pictures, place them with Rects, and bring Noodle into your game.
Hold keys to walk, press keys to jump, click to catch.
When two Rects touch, something happens: snacks get eaten, walls stop you.
Put words and numbers on the screen with fonts.
One empty file. Everything you know.