.. Pygame documentation master file, created by
sphinx-quickstart on Sat Mar 5 11:56:39 2011.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Pygame Front Page
Basic information about Pygame, what it is, who is involved, and where to find it.
Steps needed to compile Pygame on several platforms.
Also help on finding and installing prebuilt binaries for your system.
`File Path Function Arguments`_
How Pygame handles file system paths.
This is the license Pygame is distributed under.
It provides for Pygame to be distributed with open source and commercial software.
Generally, if Pygame is not changed, it can be used with any type of program.
`Introduction to Pygame`_
An introduction to the basics of Pygame.
This is written for users of Python and appeared in volume two of the Py magazine.
`Import and Initialize`_
The beginning steps on importing and initializing Pygame.
The Pygame package is made of several modules.
Some modules are not included on all platforms.
`How do I move an Image?`_
A basic tutorial that covers the concepts behind 2D computer animation.
Information about drawing and clearing objects to make them appear animated.
`Chimp Tutorial, Line by Line`_
The pygame examples include a simple program with an interactive fist and a chimpanzee.
This was inspired by the annoying flash banner of the early 2000's.
This tutorial examines every line of coded used in the example.
`Sprite Module Introduction`_
Pygame includes a higher level sprite module to help organize games.
The sprite module includes several classes that help manage details found in almost all games types.
The Sprite classes are a bit more advanced than the regular Pygame modules,
and need more understanding to be properly used.
Pygame used the Numpy python module to allow efficient per pixel effects on images.
Using the surfae arrays is an advanced feature that allows custom effects and filters.
This also examines some of the simple effects from the Pygame example, arraydemo.py.
`Camera Module Introduction`_
Pygame, as of 1.9, has a camera module that allows you to capture images,
watch live streams, and do some basic computer vision.
This tutorial covers those use cases.
A list of thirteen helpful tips for people to get comfortable using Pygame.
`Making Games Tutorial`_
A large tutorial that covers the bigger topics needed to create an entire game.
A list of all functions, classes, and methods in the Pygame package.
How to access and control the CD audio devices.
Loading and compiling cursor images.
Configure the display surface.
Drawing simple shapes like lines and ellipses to surfaces.
Manage the incoming events from various input devices and the windowing platform.
Various programs demonstrating the use of individual pyame modules.
Loading and rendering Truetype fonts.
Enhanced Pygame module for loading and rendering font faces.
Anti-aliasing draw functions.
Loading, saving, and transferring of surfaces.
Manage the joystick devices.
Manage the keyboard device.
Load and play sounds
Manage the mouse device and display.
Video playback from MPEG movies.
Play streaming music tracks.
Access advanced video overlays.
Top level functions to manage Pygame.
Manipulate image pixel data.
Flexible container for a rectangle.
Native clipboard access.
Manipulate sound sample data.
Higher level objects to represent game images.
Objects for images and the screen.
Manipulate image pixel data.
Manage timing and framerate.
Resize and move images.
Search Pygame documents by keyword.
.. _Readme: ../readme.html
.. _Install: ../install.html
.. _File Path Function Arguments: filepaths.html
.. _LGPL License: ../LGPL
.. _Introduction to Pygame: tut/intro/intro.html
.. _Import and Initialize: tut/ImportInit.html
.. _How do I move an Image?: tut/MoveIt.html
.. _Chimp Tutorial, Line by Line: tut/chimp/ChimpLineByLine.html
.. _Sprite Module Introduction: tut/SpriteIntro.html
.. _Surfarray Introduction: tut/surfarray/SurfarrayIntro.html
.. _Camera Module Introduction: tut/camera/CameraIntro.html
.. _Newbie Guide: tut/newbieguide.html
.. _Making Games Tutorial: tut/tom/MakeGames.html