Codex Gamicus

Simple DirectMedia Layer

SDL logo.png

Developer Sam Lantinga
Operating System cross platform
Latest version 1.2.11 / June 26, 2006
First release 1998
Use Application programming interface
License GNU Lesser General Public License
Website Official site

Simple DirectMedia Layer (SDL) is a cross-platform, multimedia, free software library written in C that creates an abstraction over various platforms' graphics, sound, and input APIs, allowing a developer to write a computer game or other multimedia application once and run it on many operating systems including Linux, Windows and Mac OS X. It manages video, events, digital audio, CD-ROM, sound, threads, shared object loading, networking and timers.


Pygame is a cross-platform set of Python modules designed for writing games. It includes computer graphics and sound libraries designed to be used with the Python programming language. It is built over the Simple DirectMedia Layer (SDL) library, with the intention of allowing real-time computer game development without the restraints and low-level mechanics of the C programming language and its derivatives. This is based on the assumption that the most consuming functions inside games (mainly the graphics part) can be completely abstracted from the game logic in itself, making it possible to use a high-level programming language like Python to structure the game. Pygame was written by Pete Shinners. Pygame is released under the LGPL License.

External links[]