-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Community FAQ
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.
- Does SFML have a GUI package?
- Can you interface SFML with a non-SFML GUI library?
- Can I read video files with SFML?
- What exactly is Thor?
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:
- CEGUI
- dear imgui and its SFML-intended counterpart imgui-sfml
- Guichan
- libRocket
- Nuklear
- SFGUI
- TGUI
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.
Yes, you can! See example interfaces for Qt, wxWidgets, and the native Win32 and X11 APIs in the official tutorials.
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.
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.
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.
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