ModDB Wiki
Advertisement

libsdl.org says that SDL (Simple DirectMedia Layer) is a "cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer." It has been used as the basis for many published games, most notably the many titles produced by the (now defunct) Loki Games.

It is important to note that SDL is licensed under the LGPL, which does place some restrictions on its use. You are permitted to use SDL for commercial applications, but you must either dynamically link to the SDL libraries, or make available your program's compiled object files, thereby allowing users to re-link with newer versions of the SDL library.

Features[]

Feature Yes No
sound effects and music X
input X
timers X
font rendering X
windowing X
scripting X
GUI X
OpenGL X
networking X
math ?
3d math ?
file management X
threading X

Platforms[]

  • BeOS
  • GNU/Linux
  • MacOS (Classic and OS X)
  • UNIX (including BSD/OS, Darwin, FreeBSD, Irix, OpenBSD, Solaris, QNX)
  • Windows
  • Some support for AIX, AmigaOS, MorphOS, Atari, Dreamcast, NetBSD, OSF/Tru64, Playstation Portable, RISC OS, SymbianOS, Windows CE

Related Libraries[]

Tutorials and Source[]

C[]

General[]

Audio[]

See also SDL_mixer

Input[]

Video[]

See also SDL_image.

Networking[]

Font Rendering[]

Miscellaneous[]

C++[]

Creating a Complete 2D Engine[]

Source Code[]

The source code files listed below do not have accompanying tutorials.

  • BlockBreak - Breakout clone. Linux binaries only.
  • Eat
  • Paddles - Pong clone. Linux binaries only.
  • Sokoban clone
  • Throw the Bouncing Penguin Demo - By Ricardo Cruz

Delphi[]

External Links[]

Extensions to SDL[]

  • Widget Sets
    • ParaGUI
    • Guichan

Related Weblinks[]

Advertisement