Slua-unreal is an unreal4 plugin, which allows you to use Lua language to develop game logic and hot fix your code. It gives you 3 ways to wrap your C++ interface to Lua, including reflection by blueprint, C++ template, and static code generation. It also enables two-way communication between Blueprint and Lua. The advantage of Lua over C++ is that it requires no compilation for logic change, which significantly speeds up the game development process.

Features

  • Slua-unreal is currently adopted in PUBG mobile game
  • Automatic export of blueprint API to the Lua interface
  • Supporting RPC (Remote Procedure Call) functions
  • Overriding any blueprint function with a Lua function
  • Calling Lua functions as callback functions for blueprint events
  • Auto code generation to wrap your normal C++ function for use in Lua
  • Operator overloading in FVector or other struct class
  • Calling Lua functions from blueprint, vice versa
  • Dead loop detection and error reporting when a dead loop is detected
  • Multi-state for different runtime environments
  • Multithread Lua GC (Garbage Collection)

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow slua-unreal

slua-unreal Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of slua-unreal!

Additional Project Details

Programming Language

C++

Related Categories

C++ Game Development Frameworks

Registered

2024-07-17