Skip to content

GDNative modules for Godot engine - converter to hex - float - binary

License

Notifications You must be signed in to change notification settings

ZsTiziano/godot-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot engine converter - GDNative modules

image

Info

This is a small godot engine library written in C ++ and integrated with GDNative.

contained functions:

bin2hex(String) -> PoolByteArray
hex2bin(PoolByteArray) -> String 
hex2float(PoolByteArray) -> float 
float2hex(float) -> PoolByteArray 

Usage

Clone the project

git clone https://github.com/ZsTiziano/godot-converter.git

Add godot-cpp

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/

Compiling the C++ bindings library

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>

For more information on GDNative consult the repository:

https://github.com/GodotNativeTools/godot-cpp

License:

  • Code: GPLv3

About

GDNative modules for Godot engine - converter to hex - float - binary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published