This repository is a fan-extended version of original Godot Cpp Template. Check the link for details.
- Deployed an example h/cpp file for starting.
- Added a
DEPLOY.bat
for quick start before your development.
- Create your own repository based on this template.
- Make sure you have installed Godot and Visual Studio Code. (Of course you can use other IDE(s), but here we will use Visual Studio Code as an example.)
- Clone this repository to your device.
- Open the project in Visual Studio Code.
- Run
DEPLOY.bat
to rename allexample
files and literals and deploy the godot-cpp environment for your GDExtension. - To compile your test build, run
scons platform=<your current os platform> target=template_debug
scons platform=<your current os platform> target=template_release
- To build full GDExtension that supports almost all major platforms, please push your updates to your repo and the github action will run automatically. Once the build is successful, you can download the
godot-cpp-template.zip
and unpack the folders into thegdextension/<your extension name>/bin/
and overlap all of the folders in the directory.
Your reports of bugs and proposals is of greate importance to the development and maintenance of this repo. If any bugs found, be quick to report it so as to help with all users to use the fixed versions soon. If there are any good ideas, feel free to propose them here! :)
All platforms are supported
- Windows x86_32/x86_64/arm64/arm32
- Linux x86_64
- macOS universal
- iOS arm64
- Android x86_32/x86_64/arm64
- Web wasm32
Both single and double version are supported
Since some complicated things happened to godot community, there have been multiple godot forks right now. The following forks of Godot, including Godot itself are supported:
- Godot (original)
- Redot
- Wedot
- Blazium