What You’ll Learn in This Hour:
• Using GDNative to replace slow GDScript code
• Using third-party code via GDNative
• How the Godot source code is structured
• What common datatypes are used in the Engine’s source
• Creating custom modules
Godot’s open source nature lends itself to customization and letting users add their own code. There are a few documented ways of using native code in composition with Godot, making it possible to shape Godot the way you want it to be.
In this hour, you’ll learn how to set up a basic shared library that can be used from within Godot using GDNative. This shared library contains code that performs calculations that are more expensive in GDScript than they are in direct machine code. In another ...