Simple DirectMedia Layer
From Free net encyclopedia
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library 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 GNU/Linux, Windows, Mac OS Classic, Mac OS X, BeOS, FreeBSD, OpenBSD, Solaris, QNX, IRIX, and a few other unofficially ported platforms. It manages video, events, numeric audio, CD-ROM sound, threads, and timers.
Sam Lantinga created the library, first releasing it in early 1998, while working for Loki Software. He got the idea while porting a Windows application to Macintosh. He then used SDL to port Doom to BeOS (see Doom source ports). Several other free libraries appeared to work with SDL, such as SMPEG and OpenAL.
The SDL is mainly coded in C but has bindings to many languages and exists on several operating systems.
SDL itself is very simple; it merely acts as a thin, cross-platform wrapper, providing support for 2D pixel operations, sound, file access, event handling, timing, threading, and more. OpenGL is often used with SDL to provide fast 3D rendering. It is often thought of as a cross-platform DirectX, although it lacks some if its more advanced functionality. SDL instead has a huge number of third party extensions that make it easy to do more advanced functions.
It is freely available open source and is licensed under the LGPL.
Contents |
Bindings
- Ada
- Basic (sdlBasic)
- C#
- D (Derelict)
- Eiffel
- Erlang
- Euphoria
- Guile
- Java
- Lisp
- Lua
- ML
- Objective C
- Pascal
- Perl
- PHP
- Pike
- Pliant
- Python (pygame)
- Ruby
Extensions
Widget Sets: Guichan and ParaGUI
Games using SDL
See List of Games using SDL for a complete list
See also
- Allegro
- OpenML
- DirectX
- OpenGL
- pygame [1] - a wrapper around SDL for Python
- SDL.NET - a .NET wrapper for SDL written in C#
External links
- SDL website
- GameDev - a site dedicated to game development, programming, et cetera. Discussion space can be found here on gamedev.
- The Game Programming Wiki's SDL Tutorialscs:Simple DirectMedia Layer
de:Simple DirectMedia Layer es:LibSDL fr:Simple DirectMedia Layer ja:SDL pl:Simple DirectMedia Layer ru:Simple DirectMedia Layer fi:SDL sv:Simple DirectMedia Layer vi:Simple DirectMedia Layer