Files
gdnative-demos/cpp/simple/README.md
2021-07-12 00:33:48 -04:00

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.

Screenshots

Screenshot