Here’s a simple python program that uses pygame to create a moving image.
Here’s the code, you can also download that here, to save you typing it all!
Hopefully the comments make it pretty clear what is happening. You’ll recognise a lot of the code from the simple pygame gui we did in the last post. I am going to come back and add some more explanation a little later, but I wanted to get this online while I thought about it.