PackageDescription: SDL Demos


SDL Demos

Last published: October 23, 2004 by 'michael'

Defines 40 Classes
Extends 42 Classes


This package contains a couple of the demos for the Simple DirectMedia Library converted to Smalltalk. See the class side examples method protocol for invoking the examples.

What is SDL? From the website at: http://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform multimedia library
designed to provide fast access to the graphics framebuffer and audio
device. It is used by MPEG playback software, emulators, and many
popular games, including the award winning Linux port of
"Civilization: Call To Power." Simple DirectMedia Layer supports
Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD.

This package requires SDL Core package in order to function and requires you to have the SDL shared library installed. You can download the shared libraries from the http://www.lbsdl.org.

This package makes use of the FileRepository for files required for the demos.

These are the currently working demos:
SierpienskiLikeDemo - The original C version can be found at http://www.libsdl.org/projects/sierp/index.html
StarsDemo - The original C version can be found at http://www.libsdl.org/projects/stars/index.html
WarpDemo - The original C version can be found at http://www.libsdl.org/projects/warp/index.html
ScreenArtDemo - The original C version can be found at http://www.libsdl.org/projects/screenart/
LoopWaves - based on the loopwaves.c file in the SDL development source - loops a wave file
TestSprites - based on the testsprites.c file in the SDL development source - displays N sprites and moves them
Lesson3 - based on one of Marius Andra's tutorials. From:
http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut3
BumpDemo - The original C version can be found at http://www.libsdl.org/projects/bump/index.html
SDLWav - The original C version can be found at http://jcatki.no-ip.org/SDL_mixer/demos/

Also see the NeHeLesson class for the OpenGL Demos.

These demos were chosen because of their brievity and because they produce interesting results.