Description
Changelog
Reviews (0)

Extension for using the Lua programming language in Godot 4.5+

With this addon, you can program your game or application directly in Lua. You can also create sandboxed Lua states for external modding/scripting support, as many as necessary.

Features

  • Create Godot scripts directly in Lua, making it possible to use Lua as an alternative to GDScript or C#
  • Create additional Lua states for external modding/scripting support, as many as necessary
  • Manage Lua tables, functions and coroutines directly from GDScript, C# or any other scripting language in Godot
  • Select which Lua libraries and Godot APIs will be available per Lua state, making sandboxing easier:
    • Lua libraries are the same as Lua/C, like base, package and io libraries
    • Godot APIs:
      • Create and manipulate Variant values
      • Instantiate objects and access class constants
      • Access singleton objects by name
      • Global utility functions, like Godot's print_rich, lerp and is_same. Also adds an await function that mimics GDScript's await keyword (only supported when running in a coroutine).
      • Global enums, like OK, TYPE_STRING and SIDE_LEFT
      • Patch Lua package.searchers, require, loadfile and dofile to accept paths relative to res:// and user://
  • Editor plugin with Lua REPL for testing out Lua snippets
  • Choose between Lua 5.4 or LuaJIT v2.1 runtimes (distributed as separate addons)
    • Note: LuaJIT does not support WebAssebly, so Lua 5.4 is always used in Web platform

Changelog for version 0.8.2

No changelog provided for this version.

Reviews

Lua GDExtension + LuaJIT has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.