Go bindings for the Godot Game Engine cross-platform game engine. godot-go integrates into Godot through the Godot GDExtension API through cgo.
The project is currently under heavy development. The API should be considered EXPERIMENTAL and is subject to change. The API is expected to become more stable as we get closer to a 1.0 release.
Requirements:
- clang-format
- gcc
TODO
TODO
To quickly build from source, check out the code and run the following commands:
make generate && make build
Once the project successfully builds, run the following commands to test:
make test
This will run the demo project in the test directory
I'm happy to help out anyone interested in the project. You can add me (surgical#3758) as a friend on the Godot Engine Discord servers. I primarily frequent the gdnative-dev room.
- Go 101 article on Type-Unsafe Pointers
- Cheatsheet for cgo data type conversion
- Cross compilation with cgo with xgo
- vscode-go patch to support cgo
- Check unsafe pointer conversion
- Loading nativescript libraries with a godot server build requires manual modification to the library .tres.
- Working with GDB Go extension