Discover and explore top open-source AI tools and projects—updated daily.
TencentAI-powered game development scripting
Top 8.4% on SourcePulse
Summary
PuerTS is a multi-language scripting solution for Unity, Unreal Engine, and .NET, enabling game logic in JavaScript/TypeScript, Lua, or Python. It offers high-performance runtimes with seamless C#/C++ interop, boosting developer productivity by allowing preferred languages and leveraging external package ecosystems (npm, LuaRocks, PyPI). The system provides type safety via TypeScript declarations and aims for efficient, boilerplate-free integration with host engine APIs.
How It Works
PuerTS utilizes a unified ScriptEnv architecture (Unity 3.0+) supporting multiple languages with a consistent C# bridging API. High performance is achieved through static wrapper generation for critical paths and efficient, cross-platform reflection calls. TypeScript declaration generation ensures type-safe API access. Key advantages include language mixing within projects and seamless C#/C++ interoperation with minimal boilerplate.
Quick Start & Requirements
Integration involves adding PuerTS to Unity/Unreal projects, with C# code snippets demonstrating ScriptEnv initialization for various backends (V8, Lua, Python).
Highlighted Details
ScriptEnv for JS/TS, Lua, and Python, enabling language flexibility and mixing.Maintenance & Community
Community support is available via GitHub Discussions and specific QQ groups (general: 942696334, UE4: 689643903). No explicit information on core contributors, sponsorships, or a public roadmap was found.
Licensing & Compatibility
The license type and any associated restrictions or compatibility notes for commercial use are not explicitly stated in the provided README content.
Limitations & Caveats
The Python backend is restricted to desktop platforms. Unreal Engine exclusively supports JavaScript/TypeScript. WebGL backend is limited to H5/Mini Games. Node.js backend has limitations regarding OpenSSL APIs on Unreal Engine mobile. QuickJS lacks debugging support.
2 days ago
Inactive
yetone
HKUDS