Tags » Pygame Tutorial

Pygame tutorial #9: first improvements to the game

In the last pygame tutorial we wrote a functional, but not very interesting worm game. In this tutorial and the next I will making various small improvements to the game. 2,550 more words

Pygame Tutorial

Pygame tutorial #8: the worm game

After the little detour I took with tutorial #7, we are going back to writing our little worm game. I am going to write a first, (barely) playable version here, and then we are gradually going to improve upon it. 2,818 more words

Pygame Tutorial

Pygame tutorial #7: more on lines

This tutorial is a bit of a special. I’ve heard from several people who have had difficulty with Drawing lines – Exercise 6 in tutorial #2. 1,899 more words

Pygame Tutorial

Pygame tutorial #6: from pixel to worm

In the previous tutorial we learned how to plot individual pixels. We wrote a simple program where you move a pixel around the screen. Today we are going to turn our single pixel into a worm. 3,459 more words

Pygame Tutorial

Pygame tutorial #5: pixels

Welcome to pygame tutorial #5. This time we’ll look at how to plot individual pixels. We will also look at a keyboard event that may prove useful when we get to the stage of actually being able to write games. 1,904 more words

Pygame Tutorial

Pygame tutorial #4: more on events

I have received loads of requests for this, but $LIFE took a serious down-turn for a while. Oh well, let’s not waste time with that. On with the show! 1,266 more words

Pygame Tutorial

Pygame tutorial #3: mouse events

In the last tutorial, you learned how to draw lines. This time we will deal with mouse events. As usual we will keep it simple. … 1,140 more words

Pygame Tutorial