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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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