Skip to content
johnnywz00 edited this page Jun 25, 2024 · 6 revisions

Notice: Most FAQ entries have been moved to the official SFML FAQ.

The remaining entries here on the unofficial FAQ are maintained by the community.

Frequently asked questions (FAQ)

Libraries for SFML

Miscellaneous


Libraries for SFML

Does SFML have a GUI package?

No, SFML does not have a GUI module integrated into it, nor does it have an official GUI package; however, you can use nearly any OpenGL-based GUI library with SFML. Here is a (incomplete) list of commonly used GUI libraries:

Some of these are intended for SFML use and are seamlessly incorporated into existing SFML projects (namely imgui-sfml, SFGUI, and TGUI). The others can be interfaced as well.

Can you interface SFML with a non-SFML GUI library?

Yes, you can! See example interfaces for Qt, wxWidgets, and the native Win32 and X11 APIs in the official tutorials.

Can I read video files with SFML?

SFML does not have a video playback module, but one can easily connect FFmpeg or similar libraries with SFML. There are even a couple of maintained projects from SFML users. One is sfeMovie and another is Motion.

What exactly is Thor?

Thor is an open-source and cross-platform library written in the programming language C++. It is an extension to SFML and comes with high-level features that base on SFML and that are intended to help in daily C++ routine, especially with respect to graphics and game programming.

The git repository for it is hosted on GitHub and the official website can be found here.

Miscellaneous

Are there any famous projects with made with SFML?

As SFML is open source and has a permissive free software license, game creators are not forced to specify that they've used SFML in their games, thus it might well be that SFML has been used in bigger commercial projects. We don't know. As for the known projects, there's a dedicated page on the SFML's wiki. A list of known projects can also be found on SFML's Wikipedia page. One other place is the SFML Projects website.

Where can I share my SFML project(s)?

SFML Projects is currently being developed as a place to put projects made with SFML.

Their project's intent can be found on their About page:

While the SFML forum provides a section for projects, it happens too often that nice projects get lost in the depth of that sub-forum or that the archive with the game gets deleted. With the SFML Projects website we want to provide a platform to host, share and archive projects that were made with or for SFML

Clone this wiki locally