There is a new GDExtension for the Godot game engine called Projekt J.E.N.O.V.A (no idea what the acronym is). This extension brings C++ scripting inside the Godot game engine, just as you currently can with GDScript or C#. It is also a very WIP extension with very little documentation so buyer beware.
Features of Projeck JENOVA include:
- Super Lightweight (6MB)
- Very Fast & Reliable
- Multi-Threaded Compilation & Source Caching
- Debug Information Support
- Built-in Package Manager (Compilers, SDKs, Tools, Plugins etc.)
- C++ Scripts can be used exactly like GDScripts
- Supports Script Templates (Pre-Defined/User-Defined)
- Supports Built-in Script Mode (Embedded)
- Supports C++ Tool Script Mode (In-Editor Execution)
- Supports Exporting Properties from C++ Scripts
- Multiple Interpreter Backends (NitroJIT, Meteora, A.K.I.R.A etc.)
- Next-Gen Hot-Reloading Both at Runtime & Editor
- Real-Time GDExtension Development
- Operating System Emulation (Unix/WinNT)
- Visual Studio Side-by-Side Deep-Integration
- Visual Studio Exporter & Build System (2017-2022)
- Auto Detection of Installed Visual Studios
- Supports External Libraries and .NET Invoke
- Watchdog System (Reload-On-Build)
- Built-in Terminal Logging System (Customizable)
- Asset Monitor System API (File/Directory Tracking)
- On-Demand Reload Per Script Change
- Lambda Signal Callbacks
- Advanced Menu Options
- Supports Additional/External Headers & Libraries
- Build And Run Mode (Build Before Play/Play After Build)
- Code Compression/Encryption (External/Built-in)
- Direct GetNode & GetTree API
- User Defined Preprocessor Definitions
- Supports In-Editor C++ Headers
- Module Boot/Shutdown Events
- Supports C++ Headers Directly Inside Editor
- Supports Scene Node Referencing
- Supports Source Control using Git
- And Much More!
The source code is available under the MIT license and is hosted on GitHub.
Key Links
You can learn more about the GDExtension Projekt J.E.N.O.V.A that brings C++ scripting to the Godot game engine in the video below.