scottferg / Go-SDL

Go bindings for SDL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

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/..."

Installation

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

Credits

Music to test SDL-mixer is by Kevin MacLeod.

About

Go bindings for SDL


Languages

Language:Go 94.4%Language:C 5.6%