Go-SDL2

module
v0.0.0-...-dcd4c77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2014 License: MIT

README

Go-SDL2 is a collection of packages for Go bindings for the Simple DirectMedia Layer version 2, known as "SDL2".

These bindings aim to be very Go-idiomatic and intuitive, and will include bindings for SDL packages such as SDL-ttf, SDL-image, and more.

Examples of how to use these packages are available here.

These bindings are still experimental and the API is subject to change. There will eventually be an API freeze when the bindings are more complete and tested.

This software is provided free of charge. See LICENSE for details.

Installing

The packages are designed to be go-getable, but they require that the underlying C library be installed first. The cgo directives depend on the availability of pkg-config for the SDL libraries. The packages are separated by the SDL library required.

  • github.com/adam000/Go-SDL2/sdl/... requires SDL2 2.0.2 or higher.
  • github.com/adam000/Go-SDL2/image requires SDL2_image-2.0.0 or higher.

Directories

Path Synopsis
demos
Package image provides access to popular image formats via SDL_image.
Package image provides access to popular image formats via SDL_image.
sdl
Package sdl provides a binding of SDL2 with an object-oriented twist.
Package sdl provides a binding of SDL2 with an object-oriented twist.
keys
Package keys provides constants for keyboard codes.
Package keys provides constants for keyboard codes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL