GetAssetPack

LuaMancer

LuaMancer
Price
Free
Creator
Progrstick

A free Luau extension for GameMaker Studio 2

Available on

Search by image

Upload a reference to find previews with similar colors, contrast, and detail.

LuaMancer

LuaMancer
Progrstick · itch.ioFree
License not indexed
  • i Check the terms on the original listing.
Show full terms

A free Luau extension for GameMaker Studio 2

View original listing

Description

LuaMancer is a GameMaker extension that lets you run Luau code. It's useful for modding support, developer consoles, cutscene systems and probably other things too. It's designed to be easy to use, safe for untrusted scripts and as speedy as possible.

Show full description...
  • Build API sets for mods by exposing only the functions, values and assets that they need.
  • Give contexts restricted views of instances, structs and arrays. You decide which fields they can read or write and which methods they can call.
  • Use live references when Lua needs to change GameMaker arrays and structs directly. Detached copies and transitive read-only values are also supported.
  • Hot reload scripts and required modules while the game is running.
  • Sandboxed contexts start with a watchdog and memory limit. Runaway Luau loops report an error instead of freezing the game.
  • gm.ref lets Lua give GameMaker a function or another Lua value to use later.
  • require loads modules from a locked root folder that scripts cannot escape.
  • Luau has some sexy syntax: continue, compound assignments, string interpolation and optional type annotations.
  • Luau native code generation is supported.
  • The GML-to-DLL bridge is quite fast. An empty send takes about 0.92 microseconds and an empty call takes about 1.01 microseconds in my Windows VM benchmarks. Calls with arguments or converted data costs a bit more. In YYC, luamancer is about as fast as the native GameMaker VM, technically full games written in luau are possible.

Made for GameMaker LTS 2026. Older GameMaker versions are not supported.

Windows x64 is tested on the VM and YYC runners. Ubuntu x64 is tested on the VM runner. Both platforms passed my GameMaker test suite using runtime 2026.0.0.23 on Windows 11 and Ubuntu 24.04 LTS. Linux YYC has not yet been tested. Also included an universal macOS library for Intel and Apple Silicon. Its native test suite passes on both architectures, but I don't have the graphical hardware to run the full GameMaker runner suite.

If you find a bug, want to give feedback or need a feature, feel free to add me on Discord: @progrstick

The download contains the GameMaker import package, the licence, the LuaMancer book and a simple demo project.

Tags

dllextensionGameMakerluaLuauModdable

Downloads

Name your own price.