SFML logo

CSFML - Simple and Fast Multimedia Library for C

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is originally written in C++, and this project is its official binding for the C language.

State of Development

Development is focused on the next major version in the master branch. No more features are planned for the 2.x release series.

  • The master branch contains work in progress for the next major version CSFML 3. As such it's considered unstable, but any testing and feedback is highly appreciated.
  • The 2.6.1 tag is the latest official SFML release and will be the last minor release in the 2.x series.
  • The 2.6.x branch contains the latest bugfix work on CSFML 2.6.x, matching SFML's 2.6.x branch.

Authors

Download

You can get the latest official release on SFML website. You can also get the current development version from the Git repository.

Learn

There is no tutorial for CSFML, but since it's a binding you can use the C++ resources:

Of course, you can also find the CSFML API documentation in the SDK.

Building

Set SFML_ROOT to a directory containing the installation of SFML.

Contribute

SFML and CSFML are open-source projects, and they need your help to go on growing and improving. Don't hesitate to post suggestions or bug reports on the forum, or post new bugs/features requests on the issue tracker. You can even fork the project on GitHub, maintain your own version and send us pull requests periodically to merge your work.

Languages
C 54.6%
C++ 39.1%
Shell 2.7%
CMake 2.6%
PowerShell 1%