A Godot editor plugin to integrate the D language more closely into the engine.
- Use D source files as NativeScripts.
.gdns
files are no longer needed. - Build DUB projects in Godot with the D toolbar.
- Clone
godot-d-plugin
inside<your godot project>/addons/
withgit clone --recursive https://github.com/godot-d/godot-d-plugin.git
- Build the plugin by running
dub
ingodot-d-plugin
- In Godot, go to
Project > Project Settings > Plugins tab
and activate the plugin
Multiple classes can be in one file, but only the one with a name matching the
filename (case-insensitive) will be referred to by that file. Use .gdns
files for
the other classes.
Class name and library path can be manually overridden in the Import dock.
DUB projects can't be used as GDNativeLibrary yet. Use a .gdnlib for now.