Hey there,
I’m Sören and fairly new to godot.
I was discovering GDExtensions lately and really had a blast.
First I put an extension together using the official documentation and several templates & examples. This has been fun but also triggered my automation fetish. So I started coding a small tool in python that generates a simple starter project.
A few iterations later I’ve made a tool that can create GDExtension projects based on project templates (basically git repositories or folders). It uses a templating mechanism so you are able to replace stuff in a template.
The default project template features
- a demo to test your extension in Godot
- a simple c++ class
- build process that includes code documentation (via doctool)
Since the tool and the template is build on my personal requirements I might have missed some points. Also the templating process is still lacking some documentation.
But in general I’m at a point where I wanted to share this with you guys!
I’ll appreciate any feedback and maybe it helps someone to get started with GDExtensions.
Greetings
Sören
Installation
pip install gdextension-cli
Usage
gdextension-cli help
To create a new GDExtension simply use:
gdextension-cli new <NAME>