mirror of
https://github.com/godotengine/gdnative-demos.git
synced 2026-01-01 05:48:13 +03:00
767 B
767 B
Simple GDNative C++ demo
This is a small example using C++ to create a GDNative script that just showcases some very simple bare bones calls.
Language: GDNative C++
Renderer: GLES 2
Dependencies:
- You need godot-cpp, this is now a Git submodule of this repo.
clang,gcc, or any decent C++ compiler that's C++14 compatible.
Compiling
You can use SCons to compile the library:
scons platform=PLATFORM
Where PLATFORM is: windows, linux, or osx.
This creates the file libsimple in the respective
subfolders in the project/gdnative directory.
