At their heart, games and other applications run on a very simple three-part structure.
Each is separate but dependent on the others. The controller takes all the input into the system, from the keyboard to the mouse to the internet connection. The model processes the inputs from the controller and makes decisions based on it. The view displays the results of those decisions as output to the screen.
That's it!
We'll be using a Python module called Pygame to prototype this demonstration game. To install Pygame, go to the links below.
Python and Pygame downloads, for Windows:
http://www.python.org/download/
http://www.pygame.org/download.shtml
For Mac:
Python 2.4:
http://pythonmac.org/packages/py24-fat/index.html
or Python 2.5:
http://pythonmac.org/packages/py25-fat/index.html
Be sure to get the Python, pyobjc, and pygame packages from the list if you don't have them already.
Also, you'll need the demonstration files I've prepared for this class. Download one of the "demo" files you see linked below, either the .zip or .tar.gz file.
Welcome to the Game Prototyping Workshop!
Making a game can be easier than you think. With a few simple concepts, you can start to piece together a prototype, in any language, that can help you test your mechanics, sketch out an interface, or examine different possibilities for artwork. In this workshop, we'll use Python to:
all by making a simple version of Space Invaders! In one short evening!
Let's get started!
It's not just about what happens in class. Lots of good things going down all the time. I've been involved in:
Theory with Sven. Really fun, wide range of assignments, and we get to make podcasts and other weird stuff! Check out some of my work so far:
Copyright Mike Edwards 2006-2009. All content available under the Creative Commons Attribution ShareAlike license, unless otherwise noted.