Firefly is a Haskell 2D game library implemented as a thin but high-level layer over SDL and OpenGL.
It is meant to be lightweight, fast and easy. It is designed as a library, not as a framework, so you should be able to use it with pretty much anything.
We embrace the notion that Haskell is the world's finest imperative language and expose a very imperative API. However, it's very easy to add something more declarative (FRP in particular) on top of it.
Outside of Haskell, Firefly depends on:
- FreeType 2, for font loading;
- libpng, for image loading;
- OpenGL, for fast graphics;
- SDL_mixer, for loading and playing sounds;
- SDL, for pretty much anything else.
It should relatively painless to install these on your operating system. On Ubuntu 12.04, the following command seems to work:
apt-get install libfreetype6-dev libgl1-mesa-dev libpng12-dev \ libsdl1.2-dev libsdl-mixer1.2-dev
If you think something is missing in this library, please create an issue on github.