1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml">
6
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
<title>Pygame Front Page — Pygame v1.9.2 documentation</title>
9
<link rel="stylesheet" href="_static/pygame.css" type="text/css" />
10
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
11
<script type="text/javascript">
12
var DOCUMENTATION_OPTIONS = {
15
COLLAPSE_INDEX: false,
20
<script type="text/javascript" src="_static/jquery.js"></script>
21
<script type="text/javascript" src="_static/underscore.js"></script>
22
<script type="text/javascript" src="_static/doctools.js"></script>
23
<link rel="shortcut icon" href="_static/pygame.ico"/>
24
<link rel="top" title="Pygame v1.9.2 documentation" href="#" />
25
<link rel="next" title="pygame.camera" href="ref/camera.html" />
29
<div class="document">
35
<a href="http://www.pygame.org/">
36
<img src="_static/pygame_tiny.png"/>
38
<h5>pygame documentation</h5>
40
<td class="pagelinks">
43
<a href="http://www.pygame.org/">Pygame Home</a> ||
44
<a href="#">Help Contents</a> ||
45
<a href="genindex.html">Reference Index</a> ||
48
<a href="ref/camera.html">camera</a> ||
49
<a href="ref/cdrom.html">cdrom</a> ||
50
<a href="ref/color.html">Color</a> ||
51
<a href="ref/cursors.html">cursors</a> ||
52
<a href="ref/display.html">display</a> ||
53
<a href="ref/draw.html">draw</a> ||
54
<a href="ref/event.html">event</a> ||
55
<a href="ref/examples.html">examples</a> ||
56
<a href="ref/font.html">font</a> ||
57
<a href="ref/freetype.html">freetype</a> ||
58
<a href="ref/gfxdraw.html">gfxdraw</a> ||
59
<a href="ref/image.html">image</a> ||
60
<a href="ref/joystick.html">joystick</a> ||
61
<a href="ref/key.html">key</a> ||
62
<a href="ref/locals.html">locals</a> ||
63
<a href="ref/mask.html">mask</a> ||
64
<a href="ref/math.html">math</a> ||
65
<a href="ref/midi.html">midi</a> ||
66
<a href="ref/mixer.html">mixer</a> ||
67
<a href="ref/mouse.html">mouse</a> ||
68
<a href="ref/movie.html">movie</a> ||
69
<a href="ref/music.html">music</a> ||
70
<a href="ref/overlay.html">Overlay</a> ||
71
<a href="ref/pixelarray.html">PixelArray</a> ||
72
<a href="ref/pixelcopy.html">pixelcopy</a> ||
73
<a href="ref/pygame.html">pygame</a> ||
74
<a href="ref/rect.html">Rect</a> ||
75
<a href="ref/scrap.html">scrap</a> ||
76
<a href="ref/sndarray.html">sndarray</a> ||
77
<a href="ref/sprite.html">sprite</a> ||
78
<a href="ref/surface.html">Surface</a> ||
79
<a href="ref/surfarray.html">surfarray</a> ||
80
<a href="ref/tests.html">tests</a> ||
81
<a href="ref/time.html">time</a> ||
82
<a href="ref/transform.html">transform</a> ||
83
<a href="ref/pygame.html#module-pygame.version">version</a>
90
<div class="documentwrapper">
93
<div class="sectionwrapper">
94
<div class="section" id="pygame-front-page">
95
<h1>Pygame Front Page<a class="headerlink" href="#pygame-front-page" title="Permalink to this headline">¶</a></h1>
96
<div class="toctree-wrapper compound">
98
<div class="section" id="documents">
99
<h2>Documents<a class="headerlink" href="#documents" title="Permalink to this headline">¶</a></h2>
100
<dl class="docutils">
101
<dt><a class="reference external" href="../readme.html">Readme</a></dt>
102
<dd>Basic information about Pygame, what it is, who is involved, and where to find it.</dd>
103
<dt><a class="reference external" href="../install.html">Install</a></dt>
104
<dd>Steps needed to compile Pygame on several platforms.
105
Also help on finding and installing prebuilt binaries for your system.</dd>
106
<dt><a class="reference external" href="filepaths.html">File Path Function Arguments</a></dt>
107
<dd>How Pygame handles file system paths.</dd>
108
<dt><a class="reference external" href="../LGPL">LGPL License</a></dt>
109
<dd>This is the license Pygame is distributed under.
110
It provides for Pygame to be distributed with open source and commercial software.
111
Generally, if Pygame is not changed, it can be used with any type of program.</dd>
114
<div class="section" id="tutorials">
115
<h2>Tutorials<a class="headerlink" href="#tutorials" title="Permalink to this headline">¶</a></h2>
116
<dl class="docutils">
117
<dt><a class="reference external" href="tut/intro/intro.html">Introduction to Pygame</a></dt>
118
<dd>An introduction to the basics of Pygame.
119
This is written for users of Python and appeared in volume two of the Py magazine.</dd>
120
<dt><a class="reference external" href="tut/ImportInit.html">Import and Initialize</a></dt>
121
<dd>The beginning steps on importing and initializing Pygame.
122
The Pygame package is made of several modules.
123
Some modules are not included on all platforms.</dd>
124
<dt><a class="reference external" href="tut/MoveIt.html">How do I move an Image?</a></dt>
125
<dd>A basic tutorial that covers the concepts behind 2D computer animation.
126
Information about drawing and clearing objects to make them appear animated.</dd>
127
<dt><a class="reference external" href="tut/chimp/ChimpLineByLine.html">Chimp Tutorial, Line by Line</a></dt>
128
<dd>The pygame examples include a simple program with an interactive fist and a chimpanzee.
129
This was inspired by the annoying flash banner of the early 2000’s.
130
This tutorial examines every line of coded used in the example.</dd>
131
<dt><a class="reference external" href="tut/SpriteIntro.html">Sprite Module Introduction</a></dt>
132
<dd>Pygame includes a higher level sprite module to help organize games.
133
The sprite module includes several classes that help manage details found in almost all games types.
134
The Sprite classes are a bit more advanced than the regular Pygame modules,
135
and need more understanding to be properly used.</dd>
136
<dt><a class="reference external" href="tut/surfarray/SurfarrayIntro.html">Surfarray Introduction</a></dt>
137
<dd>Pygame used the Numpy python module to allow efficient per pixel effects on images.
138
Using the surfae arrays is an advanced feature that allows custom effects and filters.
139
This also examines some of the simple effects from the Pygame example, arraydemo.py.</dd>
140
<dt><a class="reference external" href="tut/camera/CameraIntro.html">Camera Module Introduction</a></dt>
141
<dd>Pygame, as of 1.9, has a camera module that allows you to capture images,
142
watch live streams, and do some basic computer vision.
143
This tutorial covers those use cases.</dd>
144
<dt><a class="reference external" href="tut/newbieguide.html">Newbie Guide</a></dt>
145
<dd>A list of thirteen helpful tips for people to get comfortable using Pygame.</dd>
146
<dt><a class="reference external" href="tut/tom/MakeGames.html">Making Games Tutorial</a></dt>
147
<dd>A large tutorial that covers the bigger topics needed to create an entire game.</dd>
150
<div class="section" id="reference">
151
<h2>Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
152
<dl class="docutils">
153
<dt><a class="reference internal" href="genindex.html"><em>Index</em></a></dt>
154
<dd>A list of all functions, classes, and methods in the Pygame package.</dd>
155
<dt><a class="reference internal" href="ref/cdrom.html"><em>pygame.cdrom</em></a></dt>
156
<dd>How to access and control the CD audio devices.</dd>
157
<dt><a class="reference internal" href="ref/color.html"><em>pygame.Color</em></a></dt>
158
<dd>Color representation.</dd>
159
<dt><a class="reference internal" href="ref/cursors.html"><em>pygame.cursors</em></a></dt>
160
<dd>Loading and compiling cursor images.</dd>
161
<dt><a class="reference internal" href="ref/display.html"><em>pygame.display</em></a></dt>
162
<dd>Configure the display surface.</dd>
163
<dt><a class="reference internal" href="ref/draw.html"><em>pygame.draw</em></a></dt>
164
<dd>Drawing simple shapes like lines and ellipses to surfaces.</dd>
165
<dt><a class="reference internal" href="ref/event.html"><em>pygame.event</em></a></dt>
166
<dd>Manage the incoming events from various input devices and the windowing platform.</dd>
167
<dt><a class="reference internal" href="ref/examples.html"><em>pygame.examples</em></a></dt>
168
<dd>Various programs demonstrating the use of individual pyame modules.</dd>
169
<dt><a class="reference internal" href="ref/font.html"><em>pygame.font</em></a></dt>
170
<dd>Loading and rendering Truetype fonts.</dd>
171
<dt><a class="reference internal" href="ref/freetype.html"><em>pygame.freetype</em></a></dt>
172
<dd>Enhanced Pygame module for loading and rendering font faces.</dd>
173
<dt><a class="reference internal" href="ref/gfxdraw.html"><em>pygame.gfxdraw</em></a></dt>
174
<dd>Anti-aliasing draw functions.</dd>
175
<dt><a class="reference internal" href="ref/image.html"><em>pygame.image</em></a></dt>
176
<dd>Loading, saving, and transferring of surfaces.</dd>
177
<dt><a class="reference internal" href="ref/joystick.html"><em>pygame.joystick</em></a></dt>
178
<dd>Manage the joystick devices.</dd>
179
<dt><a class="reference internal" href="ref/key.html"><em>pygame.key</em></a></dt>
180
<dd>Manage the keyboard device.</dd>
181
<dt><a class="reference internal" href="ref/locals.html"><em>pygame.locals</em></a></dt>
182
<dd>Pygame constants.</dd>
183
<dt><a class="reference internal" href="ref/mixer.html"><em>pygame.mixer</em></a></dt>
184
<dd>Load and play sounds</dd>
185
<dt><a class="reference internal" href="ref/mouse.html"><em>pygame.mouse</em></a></dt>
186
<dd>Manage the mouse device and display.</dd>
187
<dt><a class="reference internal" href="ref/movie.html"><em>pygame.movie</em></a></dt>
188
<dd>Video playback from MPEG movies.</dd>
189
<dt><a class="reference internal" href="ref/music.html"><em>pygame.mixer.music</em></a></dt>
190
<dd>Play streaming music tracks.</dd>
191
<dt><a class="reference internal" href="ref/overlay.html"><em>pygame.Overlay</em></a></dt>
192
<dd>Access advanced video overlays.</dd>
193
<dt><a class="reference internal" href="ref/pygame.html"><em>pygame</em></a></dt>
194
<dd>Top level functions to manage Pygame.</dd>
195
<dt><a class="reference internal" href="ref/pixelarray.html"><em>pygame.PixelArray</em></a></dt>
196
<dd>Manipulate image pixel data.</dd>
197
<dt><a class="reference internal" href="ref/rect.html"><em>pygame.Rect</em></a></dt>
198
<dd>Flexible container for a rectangle.</dd>
199
<dt><a class="reference internal" href="ref/scrap.html"><em>pygame.scrap</em></a></dt>
200
<dd>Native clipboard access.</dd>
201
<dt><a class="reference internal" href="ref/sndarray.html"><em>pygame.sndarray</em></a></dt>
202
<dd>Manipulate sound sample data.</dd>
203
<dt><a class="reference internal" href="ref/sprite.html"><em>pygame.sprite</em></a></dt>
204
<dd>Higher level objects to represent game images.</dd>
205
<dt><a class="reference internal" href="ref/surface.html"><em>pygame.Surface</em></a></dt>
206
<dd>Objects for images and the screen.</dd>
207
<dt><a class="reference internal" href="ref/surfarray.html"><em>pygame.surfarray</em></a></dt>
208
<dd>Manipulate image pixel data.</dd>
209
<dt><a class="reference internal" href="ref/tests.html"><em>pygame.tests</em></a></dt>
210
<dd>Test Pygame.</dd>
211
<dt><a class="reference internal" href="ref/time.html"><em>pygame.time</em></a></dt>
212
<dd>Manage timing and framerate.</dd>
213
<dt><a class="reference internal" href="ref/transform.html"><em>pygame.transform</em></a></dt>
214
<dd>Resize and move images.</dd>
215
<dt><a class="reference internal" href="search.html"><em>Search Page</em></a></dt>
216
<dd>Search Pygame documents by keyword.</dd>
224
<div class="clearer"></div>
226
<div class="related">
229
<li class="right" style="margin-right: 10px">
230
<a href="genindex.html" title="General Index"
231
accesskey="I">index</a></li>
233
<a href="ref/camera.html" title="pygame.camera"
234
accesskey="N">next</a> |</li>
235
<li><a href="#">Pygame v1.9.2 documentation</a> »</li>
236
<script type="text/javascript" src="jquery.plugin.docscomments.js"></script>
241
© Copyright 2011, Pygame Developers.
b'\\ No newline at end of file'