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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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