Simple DirectMedia Layer bindings (SDL2) libsdl2 sdl2-bindings
HEAD Latest release released
90 26 8
Julien Portalier

SDL2 bindings for Crystal

Write SDL2 games in Crystal. Support for desktop applications for now, but Android shouldn't be hard to achieve.

Most of the bindings have been implemented, though most haven't been verified, yet. Please see the samples directory for examples, ported from the tutorials found at You are welcome to port more samples, and the necessary corrections!


  • SDL2 is required;
  • Optional bindings for SDL2_Mixer, SDL2_Image and SDL2_TTF;
  • Crystal > 0.22.0 is required for SDL2_Mixer to work correctly.
  github: ysbaddaden/
License MIT
Crystal >= 0.36.1, < 2.0.0


Libraries 3

  • libSDL2: ~> 2.0.2
  • libSDL2_image: ~> 2.0.0
  • libSDL2_mixer: ~> 2.0.0

Dependencies 0

Development Dependencies 0

Last synced .
search fire star recently