Skip to content

Woynert/gdextension-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run

Install all the dependencies needed, you can use the provided Nix script to automatically create a shell with everything needed:

$ nix-shell

Clone the repo including submodules:

git clone --recurse-submodules https://github.com/Woynert/gdextension-template demo 

Extract the extension_api.json from your godot binary:

cd godot-cpp
godot4 --dump-extension-api extension_api.json

Compile the godot bindings with scons:

cd godot-cpp
scons platform=<platform> -j4 custom_api_file=./extension_api.json

Compile the gdextension (Run from the project's root):

scons platform=<platform>

Now you can run the godot game through the editor.

About

A template for gdextension godot projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published