Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) SDL

 

The SDL (an abbreviation of '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' [1].

 

 

 

 

 

SDL examples

 

Example

Screenshot

1: moving colors

Example 1

2: showing a bitmap

Example 2

3: moving sprite over a background

Example 3

4: moving a square in a 2D OpenGL environment

Example 4

5: moving an image over a background image in a 2D OpenGL environment

Example 5

 

Note that some of these examples are also shown for the Qt library.

 

 

 

 

 

External links

 

 

 

 

 

 

References

 

  1. SDL homepage

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict