import github.com/guregu/engi
engi (演技) is a multi-platform 2D game library for Go, forked from ENGi v0.6.0.
SUPER ALPHA. Especially the audio bits.
- Mostly working audio support
- Uses newer GLFW, fixes VSync issues.
- JS version is broken
Sounds
are loaded entirely in to memory, designed for sound effects. Files ending with .flac
, and .wav
will be loaded as Sounds.
Streams
are streamed, designed for background music. Files ending with .flac-s
. This system is pretty dumb/hacky so I will fix it eventually.
The desktop backend depends on glfw3, but includes the source code and links it statically. If you are having linker errors on Windows, I suggest using TDM-GCC instead of MinGW as your cgo compiler. Linux may need xorg-dev
.
This fork has broken GopherJS support for the time being.
go get -u github.com/guregu/engi
- Ebiten
- paked/engi: another engi fork, focus on Entity Component Systems.
- ajhager/engi: the original