Pygame is a set of Python modules designed for writing games. It is written on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system.

http://www.pygame.org

SDL, which is the Simple Directmedia Library. Created by Sam Lantinga, SDL is a cross-platform C library for controlling multimedia, comparable to DirectX. It has been used for hundreds commercial and open source games.

Pygame and SDL serve as an excellent C engine for 2D games. Games will still find the largest part of their runtime is spent inside SDL handling the graphics. SDL can take advantage of graphics hardware acceleration. Enabling this can change a game from running around 40 frames per second to over 200 frames per second. When you see your Python game running at 200 frames per second, you realize that Python and games can work together.

cdrom

manage cdrom devices and audio playback

cursors

load cursor images, includes standard cursors

display

control the display window or screen

draw

draw simple shapes onto a Surface

event

manage events and the event queue

font

create and render Truetype fonts

image

save and load images

joystick

manage joystick devices

key

manage the keyboard

mouse

manage the mouse

movie

playback of mpeg movies

sndarray

manipulate sounds with Numeric

surfarray

manipulate images with Numeric

time

control timing

transform

scale, rotate, and flip images

PyGame (last edited 2008-03-11 10:50:37 by localhost)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.