{"schemaVersion":"1.0","record":{"label":"raylib","description":"C99 game and graphics library with 2D, 3D and audio helpers.","aliases":[],"kind":"software","website":"https://www.raylib.com/","overview":"raylib is a C99 programming library for building games and interactive graphics. It combines window and input handling, audio, and 2D and 3D drawing without requiring an editor-driven project workflow.","license":"zlib/libpng","lifecycle":"active","example":false,"features":[{"name":"Code-first 2D/3D graphics","status":"supported","detail":"Drawing and resource helpers are exposed through the C API.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android","HTML5","Raspberry Pi"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://www.raylib.com/","locator":"C99 library, platforms, examples and rendering","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"}]},{"name":"Complex text layout","status":"limited","detail":"The maintainers document RTL and ligature limitations.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android","HTML5","Raspberry Pi"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://github.com/raysan5/raylib","locator":"Features and limitations by design","retrievedAt":"2026-10-07T06:54:01Z","kind":"vendor"}]}],"alternatives":[],"slug":"raylib","draftAlternatives":[{"targetSlug":"sfml","status":"limited","detail":"Candidate for programmed 2D games with input and audio; requires an API rewrite and evaluation of text/window constraints.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android","HTML5","Raspberry Pi"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://www.raylib.com/","locator":"C99 library, platforms, examples and rendering","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"},{"url":"https://github.com/raysan5/raylib","locator":"Features and limitations by design","retrievedAt":"2026-10-07T06:54:01Z","kind":"vendor"},{"url":"https://www.sfml-dev.org/","locator":"Modules and platform support","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.raylib.com/","locator":"C99 library, platforms, examples and rendering","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/raysan5/raylib/blob/master/LICENSE","locator":"Permissions and redistribution conditions","retrievedAt":"2026-10-07T07:00:28Z","id":"ray-license","title":"raylib license","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"},{"url":"https://github.com/raysan5/raylib","locator":"Features and limitations by design","retrievedAt":"2026-10-07T06:54:01Z","id":"ray-readme","title":"raylib README","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"}],"overviewCitations":["ray-home"],"licenseCitations":["ray-license"],"sections":[{"id":"workflow","heading":"Programming workflow","paragraphs":[{"id":"workflow-detail","content":[{"text":"A raylib application is assembled in code: initialize the environment, load resources, update application state and issue drawing calls. The project's learning material emphasizes small examples and a compact API reference. This suits teaching and prototypes where the developer wants to see the program's structure directly; it does not provide a visual scene editor that assembles gameplay for the author."}],"citations":["ray-home"]}]},{"id":"scope","heading":"Rendering and platform scope","paragraphs":[{"id":"scope-detail","content":[{"text":"The library includes textures, fonts, shaders, models, animation and mathematical helpers. Its documented targets include Windows, Linux, macOS, Raspberry Pi, Android and HTML5. Shared calls reduce platform-specific work, but a supported target still needs its build environment and suitable graphics support. Model loading is a rendering capability, not a promise that another engine's scenes, scripts or materials will behave unchanged."}],"citations":["ray-home","ray-readme"]}]},{"id":"limits","heading":"Design boundaries","paragraphs":[{"id":"limits-detail","content":[{"text":"The maintainers document a default single-window, single-graphics-context design and limitations in text handling, including right-to-left layout and ligatures. Those constraints matter for tools with several independent windows or complex multilingual interfaces. A project should evaluate these requirements before treating raylib as a general desktop application framework. Language bindings are separate integrations rather than a change to the core C API."}],"citations":["ray-readme"]}]},{"id":"license","heading":"Licensing","paragraphs":[{"id":"license-detail","content":[{"text":"raylib uses the permissive zlib/libpng-style license. Commercial use and modification are allowed subject to its notice and attribution-of-origin conditions. This describes raylib itself; assets, bundled components and any additional libraries still require their own license review."}],"citations":["ray-license"]}]},{"id":"substitution","heading":"Substitution assessment","paragraphs":[{"id":"substitution-detail","content":[{"text":"raylib is a candidate alternative to "},{"text":"SFML","targetSlug":"sfml"},{"text":" for code-first games that need drawing, audio and input. The substitution is architectural rather than source-compatible: C-oriented raylib calls replace SFML's C++ interfaces. Built-in 3D helpers may be useful, while windowing and text requirements can make the choice less suitable. No port or performance comparison was tested for this assessment."}],"citations":["ray-home","ray-readme","sfml-home"]}]}]},"id":"Q568","revision":615,"updatedAt":"2026-10-12T22:55:10Z","sourceUrl":"https://substitutefor.net/entities/Q568?revision=615"}}