This is an improved version of Banthar's Go-SDL.
The improvements/differences are:
-
SDL functions (except for SDL-mixer) can be safely called from concurrently running goroutines
-
All SDL events are delivered via a Go channel
-
Support for low-level SDL sound functions
-
Can be installed in parallel to Banthar's Go-SDL
-
The import paths are "github.com/0xe2-0x9a-0x9b/Go-SDL/..."
Make sure you have SDL, SDL-image, SDL-mixer and SDL-ttf (all in -dev version).
Installing libraries and examples:
go get -v github.com/scottferg/Go-SDL/sdl
Music to test SDL-mixer is by Kevin MacLeod.