SFML mainline mirror
Go to file
Chris Thrasher c0a6cf1f0c Remove unnecessary lossy conversions in test utilities
Both ApproxVec and ApproxDeg accept a double then convert that to
a float just to then convert it back to a double. We can save an
extra lossy conversion by just accepting a float instead of a double
in the first place.
2022-05-04 09:03:04 +02:00
.github Merge branch '2.6.x' 2022-04-27 08:12:25 +02:00
cmake Apply compiler warnings to tests 2022-05-02 08:39:02 +02:00
doc Use list(APPEND to simplify modifying variables 2022-02-17 14:39:07 +01:00
examples Merge branch '2.6.x' 2022-04-27 08:12:25 +02:00
extlibs Merge branch '2.6.x' 2022-04-27 08:12:25 +02:00
include/SFML Merge branch '2.6.x' into master 2022-04-21 08:31:37 +02:00
src/SFML Remove local variables that shadowed global 2022-05-02 08:39:02 +02:00
test Remove unnecessary lossy conversions in test utilities 2022-05-04 09:03:04 +02:00
tools Use std::filesystem::path 2022-02-17 00:40:29 +00:00
.editorconfig Added an .editorconfig file 2015-02-06 11:07:39 +01:00
.gitattributes Added a FLAC file to the Sound example to cover all three supported formats. 2015-03-28 22:49:46 +01:00
.gitignore Add '.gitignore' file 2022-01-10 10:34:55 +01:00
changelog.md Updated the changelog and version number for 2.5.1 2018-10-15 21:52:40 +02:00
CMakeLists.txt Require all modules are built before building tests 2022-04-02 12:17:59 +02:00
CONTRIBUTING.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
license.md Update year to 2022 (amended) 2022-02-12 19:29:09 +01:00
readme.md Add clarification of SFML's status of development 2022-05-02 08:30:59 +02:00

SFML logo

SFML — Simple and Fast Multimedia Library

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

SFML is currently in an interesting state of development, which can quickly become confusing if you aren't following it closely. As such we want to clarify where to get which version.

  • The master branch contains work in progress for the next major version SFML 3. As such it's considered unstable, but any testing and feedback is highly appreciated.
  • The 2.6.x branch is the nearly complete next minor version SFML 2.6, which should be very stable, even if it hasn't been officially released yet.
  • The 2.5.1 tag is the last official SFML release, but it lacks a lot of fixes and features that can already be found on the 2.6.x branch.

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:

Community

Here are some useful community links:

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

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