View on GitHub


Documenting everything about OCaml


Game Development

  • TSDL: An OCaml module providing thin bindings to the SDL 2.0 library. SDL provides a cross-platform interface for graphics, sound, fonts, and game controller input. This library uses ctypes, and therefore requires less work to track changes to the C SDL libraries.
    • tsdl-ttf: Support for SDL’s truetype font library.
    • tsdl-mixer: Support for the sound mixer component of TSDL.
    • tsdl-image: Support for the image-loading component of SDL.
  • OCamlSDL2: Bindings to the SDL 2.0 library using the traditional C ffi rather than ctypes, and therefore will produce warnings and errors if there are API changes. Bindings (possibly incomplete) exist also for:
  • OCamlSDL: Bindings to the older SDL v1.2 suite, including SDL_image, SDL_ttf, SDL_mixer and SDL_net.


See Graphics

Game Engines


Awesome Repositories