raysan5/raylib

Created Jun 16, 2024 · View the raysan5/raylib repository page

A simple and easy-to-use library to enjoy videogames programming

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

641

Lines of Code

22,556

From

Oct 24, 2013

To

Jun 16, 2024

About raysan5/raylib

Raylib is a C library designed to make video game programming simple and accessible, inspired by Borland's BGI graphics library and the XNA framework. It targets learners, prototypers, and developers creating games for various platforms including Windows, Linux, macOS, Raspberry Pi, Android, and WebAssembly. The library emphasizes a minimalist, code-first approach without visual editors or debug tools, appealing to those who prefer traditional programming.

The library provides comprehensive features for game development, including hardware-accelerated 3D and 2D graphics powered by OpenGL (with versions from 1.1 to 4.3 and ES variants), a software rendering backend that requires no OpenGL, support for multiple font and texture formats with compression, skeletal animation for 3D models, audio playback with streaming, and a dedicated math module for vector and matrix operations. It includes over 140 code examples covering various topics and supports bindings to more than 70 programming languages, making it accessible beyond C.

A key strength of raylib is its self-contained nature—all dependencies are bundled within the library itself, eliminating external dependency management. The project is free and open source under the zlib/libpng license, with pre-built binaries available for major platforms and support for various IDEs through provided project templates. The community is active across Discord, Reddit, YouTube, and Twitch, with comprehensive learning resources centered around example code and an API cheatsheet rather than traditional documentation.

Share this video