GitHub - SFML/SFML: Simple and Fast Multimedia Library

GitHub

SFML logo
SFML logo

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++ and has bindings for various languages such as C, .Net, Ruby, Python.

State of Development

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

CMake Template

The easiest way to get started with SFML is our

CMake-based project template

. This template will automatically download and build SFML alongside your own application. Read the README for full instructions on how to use it.

Download

You can get the latest official release on

SFML's website

.

You can also get the source code of the current development version from the

Git repository

.

Alternatively, you can get the latest snapshot / artifact builds from the

artifacts storage

.

Install

Follow the instructions of the

tutorials

, there is one for each platform/compiler that SFML supports.

Learn

There are several places to learn SFML:

The

official tutorials

The

online API documentation

The

community wiki

Community

Here are some useful community links:

Discord

Twitter

Forum

(

French

)

Contribute

SFML is an open-source project, and it needs your help to go on growing and improving. If you want to get involved and suggest some additional features, file a bug report or submit a patch, please have a look at the

contribution guidelines

.

Authors

Laurent Gomila (

[email protected]

)

Marco Antognini (

[email protected]

)

binary1248 (

[email protected]

)

Lukas Dürrenberger (

[email protected]

)

Jonathan De Wachter (

[email protected]

)

Jan Haller (

[email protected]

)

Mario Liebisch (

[email protected]

)

Stefan Schindler (

[email protected]

)

Artur Moreira (

[email protected]

)

Vittorio Romeo (

[email protected]

)

Chris Thrasher (

[email protected]

)

And many other members of the SFML community

License

The SFML libraries and source code are distributed under the

zlib/libpng license

. See

license.md

. External libraries used by SFML are distributed under their own licenses.

In short, SFML is free for any use (commercial or personal, proprietary or open-source). You can use SFML in your project without any restriction. You can even omit to mention that you use SFML -- although it would be appreciated.

External libraries used by SFML

stb_image and stb_image_write

are

public domain

freetype

is under the

FreeType license or the GPL license

libogg

is under the

BSD license

libvorbis

is under the

BSD license

libflac

is under the

BSD license

dr_mp3

is

public domain or under the MIT No Attribution license

miniaudio

is

public domain or under the MIT No Attribution license

cpp-unicodelib

is under the

MIT license

HarfBuzz

is under the

Old MIT license

SheenBidi

is under the

Apache license

qoi

is under the

MIT license

Mbed TLS

is under the

Apache license or the GPL license

wepoll

is under the

BSD license

libssh2

is under the

BSD license