Awesome Open Source
Awesome Open Source

Lua bindings for raylib, a simple and easy-to-use library to enjoy videogames programming (

raylib-lua binding is self-contained in a header-only file: raylib-lua.h. Just include that file in your project to allow loading and execution of raylib code written in Lua. Check code examples for reference.

raylib-lua could be useful for prototyping, tools development, graphic applications, embedded systems and education.

WARNING: Current raylib-lua binding is very outdated! It's based on raylib 1.7 and port to newer raylib versions is stopped. Consider switching to raylib-lua-sol, updated to latest raylib 2.6.


A raylib-lua launcher is also provided: rluaLauncher. This launcher allows you to run raylib-lua programs from command line, or just with drag & drop of .lua files into rlualauncher.exe.

Note that launcher can also be compiled for other platforms, just need to link with Lua library and raylib library. For more details, just check comments on sources.


In an effort to automatize raylib-lua binding generation I created rLuaParser, unfortunately there are several side cases that are not solved yet on the parsing, specially when dealing with opaque data types. Any help or contribution is welcome!


raylib-lua is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check LICENSE for further details.

Copyright (c) 2016-2019 Ghassan Al-Mashareqa and Ramon Santamaria (@raysan5)

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c (15,685
lua (2,173
opengl (478
binding (63
raylib (17