ClanLib logo

ClanLib features

Features at a glance

ClanLib has support for the following:

  • Linux, Windows and BeOS.
  • Basic 2D display.
    Includes primitive drawing (pixels, lines and rects) and images drawing (surfaces/sprites).
  • Basic Sound support.
    ClanLib can play static samples and streamed samples, cd audio support, playback session management...
  • Basic Input support.
    Keyboard, mouse and joysticks.
  • Basic Network support.
    ClanLib provides a easy-to-use, but powerful interface to do game networking.
  • Basic 3D support.
    ClanLib fully integrates with OpenGL. Use GL for 3D, and ClanLib for the rest...
  • Resource management.
    Resources are an integrated part of ClanLib. Everything can be reloaded via resources - a nice way to do easy theme support, and in general seperate the code from the gfx/sound/... config.
  • Image loading.
    With the use of datafiles you can load any gfx file format ImageMagick supports - even if IM is not installed on the target system! (IM has to be installed on the system the datafile is built on).
  • MPEG video playback.
  • Font support.
  • Lua scripting support.
  • A GUI framework. Still under development.

Targets supported

  • DirectX.
  • Svgalib.
  • X11.
  • OpenPTC.
  • GGI.
  • FBdev.
  • OpenGL.

The internal architecture of ClanLib makes it easy to extend the above list.

Providers available

  • PCX surface provider.
  • Targa surface provider.
  • PNG surface provider.
  • ImageMagick surface provider. Supports a dozen of image formats, including BMP, Jpeg, PNG, Targa, PCX, Tiff and PostScript.
  • FLI/FLC animation surface provider.
  • Wave sound providers.
  • MikMod sound provider.
  • Lots of input converters (button -> axis, hat->axis, axis->button, etc). Ok, not really a provider, but anyways.

The design of the ClanLib Game SDK makes it very easy to write your own Surface providers, StaticSound providers, StreamedSound providers, input converters and NetChannels. We expect the list of utility classes to increase greatly in the future.



Questions or comments, write to the ClanLib mailing list.