First you need to install the Go programming language. After clicking the download link you will be referred to the installation instructions for your specific operating system. Follow these instructions so you have the GOPATH environment variable set in your system.
You also need Git installed to download the repository.
To build and run the game, type this into your command line:
go get github.com/gonutz/ld39
cd %GOPATH%\src\github.com\gonutz\ld39
build.bat
breathless_parks.exe
To build on Linux you must have a C compiler installed. Most Linux systems come with gcc pre-installed so this should be OK. Since the game uses GLFW on Linux, you also need some C library packages:
- On Ubuntu/Debian-like Linux distributions, you need the
libgl1-mesa-devandxorg-devpackages. - On CentOS/Fedora-like Linux distributions, you need the
libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel mesa-libGL-devel libXi-develpackages.
To build and run the game, type this into your terminal:
go get github.com/gonutz/ld39
cd $GOPATH/src/github.com/gonutz/ld39
go build -o breathless_parks
./breathless_parks
