Go Bindings for SDL 2
While the package mostly follows the C API's naming conventions, some changes have been made. The 'SDL_' prefix of the C definitions has been removed. Thus, the C function
in this package.
In addition to this, some functions have been changed to be methods of related types where it seemed appropriate. Thus,
in this package. Some of these methods' names differ from the originals as well. For example,
has been changed to
For a full API reference, see godoc.org.
Note: This is not yet finished. It is capable of loading and displaying images and handling events, but many things have not been implemented yet, nor has it been thoroughly tested. Expect bugs and missing features.
- Set up your GOPATH.
- Run the following command:
go get github.com/DeedleFake/sdl