sl@cccfr.de 39a9c9c5ee move repo | 2 years ago | |
---|---|---|
.. | ||
bin | 4 years ago | |
src | 2 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
default_env.tres | 4 years ago | |
icon.png | 4 years ago | |
main.gd | 4 years ago | |
main.tscn | 4 years ago | |
project.godot | 4 years ago |
This example demonstrates how you can use the gdnative
Go package to create
your own Godot bindings with Go.
Dependencies:
You can use golang to compile the library if you have it installed:
go build -v -buildmode=c-shared -o libsimple.so ./src/simple.go && mv libsimple.so ./bin
Create a new object using load("res://SIMPLE.gdns").new()
This object has following methods you can use:
get_data()