What is NativeScript ?

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

So I just found out that when I chose the language of a script there is an option called NativeScript my question is what is it ? the only doc I found is this : NativeScript — Godot Engine (3.1) documentation in English and it doesnt say anything about it. Thanks !

:bust_in_silhouette: Reply From: sparkart

It allows you to create C++ script bindings.

Here are some tutorials from the official documentation:

:bust_in_silhouette: Reply From: Chekr

Specifically, NativeScript is a way to write Native libraries using C or C++ and access the full Godot API functionality at the native (machine compiled) level.

Functionally, you write code in C or C++ and create bindings to that code for Godot to interface with.

Tutorials:

C:

C++:

Thanks will check it out !

Rex | 2019-06-12 00:55