sl@cccfr.de 39a9c9c5ee move repo | il y a 2 ans | |
---|---|---|
.. | ||
bin | il y a 4 ans | |
src | il y a 2 ans | |
Makefile | il y a 4 ans | |
README.md | il y a 4 ans | |
default_env.tres | il y a 4 ans | |
icon.png | il y a 4 ans | |
main.gd | il y a 4 ans | |
main.tscn | il y a 4 ans | |
project.godot | il y a 4 ans |
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()