Chapter 17 - Graphics and Animation
Chapter Content and Source Code
Read Chapter 17 - Graphics and Animation
Download the source for animation.py.
Download the source for pygameInput.py.
Or you can copy and paste the code from here:
animation.py:
pygameInput.py:
Online Diff Tool
If you've typed in the source code, but are seeing errors, you can compare your code to the book's code with the online diff tool for animation.py and pygameInput.py.
Copyright © 2008, 2009, 2010 by Albert Sweigart
"Invent Your Own Computer Games with Python" 2nd Edition is free to copy and distribute under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.