Getting Started
The easiest way to set up a new project is to use the template package. First, make sure you have the necessary prerequisites.
-
Ensure the Go glfw bindings run on your platform.
-
Ensure you have the gonew tool.
go install golang.org/x/tools/cmd/gonew@latest -
Ensure you have the task tool.
go install github.com/go-task/task/v3/cmd/task@latest
Afterwards, you can use the following steps:
-
Create a new project using the Lacking template.
gonew github.com/mokiat/lacking-template@latest example.com/your/namespace projectdir cd projectdir -
Build and package the assets.
task packYou would only need to run
task packinitially and whenever the source resources (images, models) or the pipeline that transforms them have been changed. -
Run the project.
task run
You can check for available task commands as follows:
task --list-all