Game Development
Game-related
- 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 usesctypes
, 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 C files rather thanctypes
. Bindings (possibly incomplete) exist also forSDL_image
andSDL_mixer
, but not forSDL_ttf
. - OcamlSDL:
Bindings to the older
SDL
v1.2 suite, includingSDL_image
,SDL_ttf
, andSDL_mixer
.
Graphics
See Graphics
Game Engines
- ocaml-orx: Bindings to the orx game engine.
- raylib: Bindings to the raylib game library.
- Reprocessing:
A Reason 2d graphics library inspired by Processing.
Requires
esy
.
Games
- OCaml Invader: Hackathon Space Invader clone written in OCaml and OpenGL.
- Shatter:
Simple game written using the
Orx
engine. - Wanderers: A rogue-like written in OCaml using SDL.
- WeiDU: A program used to mod Infinity Engine games such as Baldur’s Gate.
- A blog about game development in OCaml