SDL

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

SDL layer

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.

Contents

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, 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.

Delphi

External Links

Extensions to SDL

  • Widget Sets
    • ParaGUI
    • Guichan

Related Weblinks