This is a small godot engine library written in C ++ and integrated with GDNative.
bin2hex(String) -> PoolByteArray
hex2bin(PoolByteArray) -> String
hex2float(PoolByteArray) -> float
float2hex(float) -> PoolByteArray
Clone the project
git clone https://github.com/ZsTiziano/godot-converter.git
We recommend using Git for managing your project. The instructions below assume you're using Git. Alternatively, you can download the source code directly from GitHub. In this case, you need to download both godot-cpp and godot_headers.
git submodule add https://github.com/GodotNativeTools/godot-cpp
git submodule update --init --recursive
Right now, our directory structure should look like this:
godot-converter/
├─godot-cpp/
| └─godot_headers/
├─sample/
└─src/
The final step is to compile our C++ bindings library:
cd godot-cpp
scons platform=<your platform> generate_bindings=yes
cd ..
Replace <your platform>
with either windows
, linux
, osx
or android
. If
you leave out platform
, the target platform will automatically be detected
from the host platform.
The resulting library will be created in godot-cpp/bin/
, take note of its name
as it'll differ depending on the target platform.
and in the project main folder:
scons platform=<your platform>
https://github.com/GodotNativeTools/godot-cpp
- Code: GPLv3