Skip to content

Repository files navigation

GDLuau

A GDExtension that adds Luau C/C++ API bindings to GDScript (+ some extras)

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.
For coding in lua/luau take a look at the "Getting Started" section on luau-lang.org.

Features

  • Full C/C++ API excluding 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 Vector3s as Luau vectors
  • Custom print implementation that emits a signal
  • lua_loadstring, lua_dostring in GDScript (were "missing" in Luau)

Compiling


lua logo

About

Luau C/C++ API bindings for the Godot Engine

Topics

Resources

Stars

104 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages