Pygame tutorial

Speaker: Neil Muller

Type: Tutorial

PyGame is a popular library for developing video games with Python which provides good support for 2D graphics, audio, user input and a number of useful utilities.

In this tutorial, I will cover the basics of writing a simple game using python and pygame, and explore Pygame's functionality. The tutorial will cover:

  • The Pygame event system
  • Drawing graphics to the screen
  • Simple animations
  • Sound and music support
  • Pygame's Rect object and why you should embrace it

I will also discuss some of the pitfalls to be aware of when working with Pygame.

The slides and the examples used in the tutorial are available from: http://dip.sun.ac.za/~neil/talks/pyconza_2014/



PyConZA brought to you by Praekelt Foundation