[UNSOLVED] Godot NativeScript Tutorial

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SIsilicon

Hey. As the title suggests I would like to know how to setup and use native script.
Godot’s docs isn’t working out for me.

:bust_in_silhouette: Reply From: Corruptinator

I’m no expert on this subject but I’ve spent some time trying to figure out how to do GDNative, and the process is really complex. During my journey in trying to figure out how to do it there is a Github repository for GDNative along with demo project files. It also includes instructions on how to use different language bindings in GDNative, such as D, Rust, C, or C++:

Hope you find use through that repository.

P.S. I almost for got to inform that from what I understand from the process of creating the GDNative Script, you also might need to set up the project files in this setup:

Project Folder:






Godot-CPP is the folder where it contains the C++ library bindings of GDNative while the Godot_Headers is the main source of the GDNative.

How do I use scons? The demo projects aren’t working when I run them.
Could you explain in a little more?

I’m using a windows computer with Dev c++.

SIsilicon | 2018-04-15 18:47

Hmm. I guess he lost interest. I really hoped he had something to say :(.

SIsilicon | 2018-05-24 05:38

:bust_in_silhouette: Reply From: mikekulasinski


I am not sure if you still have a problem, but I know your pain, I have gone through the same. I have extracted whole plugin setup into a separate repo


please check it out and ping me if you need anymore help. I am on linux so hopefully it will work for you.

Thank you for helping me out. :slight_smile:

SIsilicon | 2018-06-03 14:33