GDLuau
Luau C/C++ API bindings for the Godot Engine
Install / Use
/learn @Manonox/GDLuauREADME
GDLuau
A GDExtension that adds Luau C/C++ API bindings to GDScript (+ some extras)
Warning
This repository's
mainbranch is only usable with GDExtension from Godot'smasterbranch.
About
GDLuau is for in-game scripting / UGC / modding. (This is not a replacement for or an alternative to GDScript.)
Luau API closely follows Lua 5.1 API, you can find the manual here.<br /> For coding in lua/luau take a look at the "Getting Started" section on luau-lang.org.<br />
Features
- Full C/C++ API in GDScript excluding lightuserdata/userdata
- Pushing/Pulling normal Callables (lambda Callables aren't supported)
- Pushing/Pulling Objects (Node / RefCounted) (as userdata)
- Pushing/Pulling Godot Arrays and Dictionaries
- Pushing/Pulling Godot Vector4s as Luau vectors
- Custom print implementation that emits a signal
- lua_loadstring, lua_dostring in GDScript (were "missing" in Luau)
- Configurable interrupt signal for run-away scripts (
while true do end)
Compiling
- Clone the repo with
--recursiveto also clone submodules - Run
scons platform=<platform>(also, preferably, adduse_mingw=yes, if you have it installed) - A test project is included in the repo
Related Skills
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

