Notes:
PySDL 0.0.3
PySDL is a rapidly developing Python interface for the SDL library.
Though not fully API compatible, the general interface is similar, and exact
where practical.
Currently supported subsystems:
video
joystick
cd-rom
events
David Clark is working on documenting PySDL, and his current work can be found
at http://www3.telus.net/futility/futility/docs/pysdl/index.html
Until his work is complete, the __doc__ strings for the various functions and
methods, plus an understanding of SDL should be enough to figure it out.
Changes:
0.0.3:
Changed the sequence functionality for the Surface object. It's much more
usable now. Thanks go to Ben Smith for inspiration in this direction.
Removed the load_bmp function, and added support for SDL_image.
Images can be loaded from either a file, or a Python file object.
The surface method save_bmp works on either a file or a Python file object.
Some of the less sensical return codes for functions have been modified, in
an attempt to make the module less annoying.
The __doc__ strings have been made more consistent, and informative.
Added some examples of using the module, but nothing too impressive.
The palette can now be manipulated with the set_palette(), pal_get_at(), and
pal_set_at() Surface methods.
0.0.2:
In this release the event system and joystick systems were added.
Also, by keeping track of the initialization of the SDL subsystems, the
Python SDL objects will not permit the execution of SDL commands on them,
when their subsystem is shut down. This doesn't yet effect global functions
of the sdl namespace.
0.0.1:
Initial public release. Support for video and cd-rom subsystems completed.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use