raylib: a simple and easy-to-use library to enjoy videogames programming (35k stars)
What it does
All text below is quoted directly from the project README.
>raylib is a simple and easy-to-use library to enjoy videogames programming.
raylib is highly inspired by Borland BGI graphics lib and by XNA framework and it's especially well suited for prototyping, tooling, graphical applications, embedded systems and education.
features:
- NO external dependencies, all required libraries are included in raylib
- Multiple platforms supported: Windows, Linux, MacOS, RPI, Android, HTML5... and more!
- Written in plain C code (C99) using PascalCase/camelCase notation
- Hardware accelerated with OpenGL: 1.1, 2.1, 3.3, 4.3, ES 2.0, ES 3.0
- Unique OpenGL abstraction layer (usable as standalone module): rlgl
- Software Renderer backend (no OpenGL required!): rlsw
- Multiple Fonts formats supported (TTF, OTF, FNT, BDF, sprite fonts)
- Multiple texture formats supported, including compressed formats (DXT, ETC, ASTC)
- Full 3D support, including 3D Shapes, Models, Billboards, Heightmaps and more!
- Flexible Materials system, supporting classic maps and PBR maps
- Animated 3D models supported (skeletal bones animation) (IQM, M3D, glTF)
- Shaders support, including model shaders and postprocessing shaders
- Powerful math module for Vector, Matrix and Quaternion operations: raymath
- Audio loading and playing with streaming support (WAV, QOA, OGG, MP3, FLAC, XM, MOD)
- Bindings to +70 programming languages!
NOTE for ADVENTURERS: raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no debug button... just coding in the most pure spartan-programmers way.
Repository
raysan5/raylib
Repository stats
|Metric|Value|
|:-|:-|
|Stars|35,071|
|Forks|3,327|
|Last release|6.0 (2026-04-23)|
|Languages|C 86.5%, Lua 7.3%, Makefile 2.3%|
|Contributors|954|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|Claude: 3|
|AI co-authored commits|Claude: 3|
Main contributor
|Field|Value|
|:-|:-|
|Name|Ray|
|GitHub|@raysan5|
|Commits to this repo|6,871 (top contributor)|
|Bio|I make tools and technology for videogames development. Available for technical consulting, courses teaching and conferences. Feel free to message me!|
|Company / Location|@raylibtech, Barcelona|
|Website|raylib.com|
|X / Twitter|@raysan5|
|Followers|5,668|
|Public repos|31|
|On GitHub since|2013-10-24|
30 points
Mentions
Game dev without the bloat A lightweight C library for making games and graphics tools. It has zero external dependencies and runs hardware-accelerated with OpenGL on Windows, Linux, macOS, Android, and the web. 🍒 Built by Ray raysan5/raylib #opensource #cprogramming
@Again_Arokollo @kotopuli_zed Да, для ПО прям хорошо Первый пример который пришел в голову github.com/raysan5/raylib/blob/master/ROADMAP.md
@gamefromscratch Actually, iOS support is already on the list... and actually there is already a PR implementing iOS support... but current implementation is not completely aligned with raylib phylosophy and requires some redesign raylib#5881
zig build の setLibCFile について ziglang.org zig-0.17 どういうときに必要か クロスビルドで以下のようなエラーになる。 zig build -Dtarget=aarch64-linux-android error: error: unable to provide libc for target "aarch64-linux.5.10...7.2-android.29" target 向けの libc が無い。外部から提供するがある。 NDK 向けに native activity を zig でコンパイルするなど。 たぶん emscripten とかも使う。 libc_file の中身 既存のプロジェクトを参考に。 github.com/raysan5/raylib/blob/30fa673ef2fa137588… 0s は、$ANDROID_HOME/ndk/30.0.16248370/toolchains/llvm/prebuilt/linux-x86_64 という感じになる。 謎のエラー darwin_sdk_dir error: error(libc_installation): missing field: darwin_sdk_dir zig-0.17 で仕様変更があったらしく、 darwin_sdk_dir= を追記すれ OK ぽい。 github.com/dfrojas/openwater/commit/2ddc6af0a2d2f… あと cc_dir が必要になった。 ziglang.org NDK の cc_dir には、crtbegin_so.o や crtend_so.o のありかを指定する。 すなわち、crt_dir 同じ?
@Sathya_raj @gamescomasia Feel free to test it and fix issues, I have no iPhone. raylib#5881
raylib 6.2 is out! Hey! raylib 6.2 is out! 🔥 It was supposed to be a small patch version but it comes with +300 improvements from +100 new contributors! 🚀 Release notes: github.com/raysan5/raylib/releases/tag/6.2 Windows Installer: raysan5.itch.io
Hey! **raylib 6.2** is out! 🔥 It was supposed to be a small patch version but it comes with +300 improvements from +100 new contributors! 🚀 Release notes: github.com/raysan5/raylib/releases/tag/6.2 Windows Installer: raysan5.itch.io
Hey! **raylib 6.2** is out! 🔥 It was supposed to be a small patch version but it comes with +300 improvements from +100 new contributors! 🚀 Release notes: github.com/raysan5/raylib/releases/tag/6.2 Windows Installer: raysan5.itch.io t.co
raylib: a simple and easy-to-use library to enjoy videogames programming (35k stars) What it does All text below is quoted directly from the project README. >raylib is a simple and easy-to-use library to enjoy videogames programming. raylib is highly inspired by Borland BGI graphics lib and by XNA framework and it's especially well suited for prototyping, tooling, graphical applications, embedded systems and education. features: - NO external dependencies, all required libraries are included in raylib - Multiple platforms supported: Windows, Linux, MacOS, RPI, Android, HTML5... and more! - Written in plain C code (C99) using PascalCase/camelCase notation - Hardware accelerated with OpenGL: 1.1, 2.1, 3.3, 4.3, ES 2.0, ES 3.0 - Unique OpenGL abstraction layer (usable as standalone module): rlgl - Software Renderer backend (no OpenGL required!): rlsw - Multiple Fonts formats supported (TTF, OTF, FNT, BDF, sprite fonts) - Multiple texture formats supported, including compressed formats (DXT, ETC, ASTC) - Full 3D support, including 3D Shapes, Models, Billboards, Heightmaps and more! - Flexible Materials system, supporting classic maps and PBR maps - Animated 3D models supported (skeletal bones animation) (IQM, M3D, glTF) - Shaders support, including model shaders and postprocessing shaders - Powerful math module for Vector, Matrix and Quaternion operations: raymath - Audio loading and playing with streaming support (WAV, QOA, OGG, MP3, FLAC, XM, MOD) - Bindings to +70 programming languages! NOTE for ADVENTURERS: raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no debug button... just coding in the most pure spartan-programmers way. Repository raysan5/raylib Repository stats |Metric|Value| |:-|:-| |Stars|35,071| |Forks|3,327| |Last release|6.0 (2026-04-23)| |Languages|C 86.5%, Lua 7.3%, Makefile 2.3%| |Contributors|954| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|Claude: 3| |AI co-authored commits|Claude: 3| Main contributor |Field|Value| |:-|:-| |Name|Ray| |GitHub|@raysan5| |Commits to this repo|6,871 (top contributor)| |Bio|I make tools and technology for videogames development. Available for technical consulting, courses teaching and conferences. Feel free to message me!| |Company / Location|@raylibtech, Barcelona| |Website|raylib.com| |X / Twitter|@raysan5| |Followers|5,668| |Public repos|31| |On GitHub since|2013-10-24|
Hey! raylib just surpassed the 35000 stargazers ⭐ on GitHub! 🚀 Source: raysan5/raylib t.co