This repository provides a minimal configuration to kickstart a Godot project using Golang as the game scripting language, following the tutorial from grow-graphics/gd.
- Make sure you have the Godot Engine installed.
- Install Go on your system if you haven't done so already.
- Install gd tool:
go install grow.graphics/gd/cmd/gd@master
Here's an overview of the project structure:
godot-go
│
├── .git/
│
├── graphics/
│ ├── .godot/
│ ├── library.gdextension
│ ├── icon.svg
│ ├── main.tscn
│ └── project.godot
│
└── main.go
- Build the Go project using the following command:
gd build
or
go build -o example.so -buildmode=c-shared
- Examples