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