{"schemaVersion":"1.0","record":{"label":"SFML","description":"C++ multimedia library with graphics, windowing, audio and networking modules.","aliases":["Simple and Fast Multimedia Library"],"kind":"software","website":"https://www.sfml-dev.org/","overview":"SFML is a C++ multimedia library for applications such as games. Its modules cover system facilities, windows, graphics, audio and networking, providing a code-oriented foundation rather than a complete visual game editor.","license":"zlib/libpng","lifecycle":"active","example":false,"features":[{"name":"Desktop multimedia modules","status":"supported","detail":"System, window, graphics, audio and network modules are available.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android (limited)","iOS (limited)"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://www.sfml-dev.org/","locator":"Modules and platform support","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"}]},{"name":"SFML2 to SFML3 migration","status":"limited","detail":"C++17, event and build-system changes require adaptation.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android (limited)","iOS (limited)"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://www.sfml-dev.org/tutorials/3.0/getting-started/migrate/","locator":"C++17, events and CMake changes","retrievedAt":"2026-10-07T06:54:16Z","kind":"vendor"}]}],"alternatives":[],"slug":"sfml","images":[{"id":"f271356e-595a-4470-9af1-758ff4f0d1bf","alt":"Green rounded pentagonal SFML emblem with a white angular outline and central white wedge.","caption":"SFML icon.","sourceUrl":"https://www.sfml-dev.org/download/goodies/","capturedAt":"2026-10-12","attribution":"SFML project. Official 256 × 256 PNG icon from the SFML Goodies page, retrieved 2026-10-12. The project declares its official logo public domain. Unchanged except site image conversion.","rights":"public-domain","rightsUrl":"https://www.sfml-dev.org/download/goodies/"}],"draftAlternatives":[{"targetSlug":"raylib","status":"limited","detail":"Alternative for code-first 2D graphics, input and audio using a C++ interface; not API-compatible or an assumed replacement for every 3D helper.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android (limited)","iOS (limited)"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://www.sfml-dev.org/","locator":"Modules and platform support","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"},{"url":"https://www.raylib.com/","locator":"C99 library, platforms, examples and rendering","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.sfml-dev.org/","locator":"Modules and platform support","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"},{"url":"https://www.sfml-dev.org/download/goodies/","locator":"Checked 2026-10-12: the official Goodies page declares the SFML logo public domain and supplies the small 256 × 256 PNG icon used here.","retrievedAt":"2026-10-12T08:29:07.348Z","kind":"assessment"}],"document":{"version":1,"references":[{"url":"https://github.com/SFML/SFML/blob/master/license.md","locator":"zlib/libpng license","retrievedAt":"2026-10-07T06:54:43Z","id":"sfml-license","title":"SFML license","kind":"vendor"},{"url":"https://www.sfml-dev.org/","locator":"Modules and platform support","retrievedAt":"2026-10-07T06:53:51Z","id":"sfml-home","title":"SFML overview","kind":"vendor"},{"url":"https://www.sfml-dev.org/tutorials/3.0/getting-started/migrate/","locator":"C++17, events and CMake changes","retrievedAt":"2026-10-07T06:54:16Z","id":"sfml-migration","title":"SFML3 migration guide","kind":"vendor"},{"url":"https://www.raylib.com/","locator":"C99 library, platforms, examples and rendering","retrievedAt":"2026-10-07T06:53:51Z","id":"ray-home","title":"raylib overview","kind":"vendor"}],"overviewCitations":["sfml-home"],"licenseCitations":["sfml-license"],"sections":[{"id":"modules","heading":"Modular development","paragraphs":[{"id":"modules-detail","content":[{"text":"Applications use SFML's object-oriented interfaces to manage a window, process events, display graphics and play sound. Networking and system services are separate modules in the same family. This organization lets a developer select the pieces needed by an application, while leaving game-state organization and production tooling to the project. It is useful where the program's architecture is intended to remain under the team's control."}],"citations":["sfml-home"]}]},{"id":"platforms","heading":"Target platforms","paragraphs":[{"id":"platforms-detail","content":[{"text":"The project supports Windows, Linux and macOS and describes Android and iOS support as having limitations. Mobile availability should therefore be evaluated for the intended application rather than assumed to match every desktop workflow. A library-level platform claim also does not supply an application's packaging, store submission or content pipeline."}],"citations":["sfml-home"]}]},{"id":"version","heading":"SFML3 migration","paragraphs":[{"id":"version-detail","content":[{"text":"SFML3 requires C++17 and changes more than the compiler baseline. Its migration guide describes namespaced CMake targets, scoped enumerations and a revised event interface using modern C++ types. Some earlier threading facilities are replaced by standard-library equivalents. Projects written against SFML2 should budget for source and build changes, and use documentation for the version they actually depend on."}],"citations":["sfml-migration"]}]},{"id":"licensing","heading":"License and dependencies","paragraphs":[{"id":"licensing-detail","content":[{"text":"SFML is distributed under a permissive zlib/libpng-style license that allows commercial use and modification with stated origin and notice conditions. This is not a requirement to publish the game's own source code. Additional dependencies and distributed assets remain separate items to review; the core license alone is not a blanket license for everything included in a finished game."}],"citations":["sfml-license"]}]},{"id":"substitution","heading":"Substitution assessment","paragraphs":[{"id":"substitution-detail","content":[{"text":"SFML can substitute for "},{"text":"raylib","targetSlug":"raylib"},{"text":" in programmed multimedia and 2D game workflows when a C++ module-based API is preferred. The two libraries expose different resource, input and drawing interfaces, so migration involves application changes. raylib's broader built-in 3D helpers should be evaluated separately rather than inferred from SFML's ability to participate in a graphics application. This assessment concerns documented scope, not measured speed or porting results."}],"citations":["sfml-home","sfml-migration","ray-home"]}]}]},"id":"Q173","revision":586,"updatedAt":"2026-10-12T08:44:18Z","sourceUrl":"https://substitutefor.net/entities/Q173?revision=586"}}