Skip to content

haskell-game/sdl2-gfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdl2-gfx

Hackage Build Status

Haskell bindings to SDL2_gfx

Both the raw and the higher level bindings should allow you to use any aspect of the original SDL2_gfx library. Please report an issue if you encounter a bug or feel that something is missing.

Install
cabal install sdl2-gfx
Documentation

For documentation, visit Hackage.

The original SDL2_gfx documentation can also help, as the bindings are close to a direct mapping.

Example

A small example executable is included with the library. It uses many parts of the library to draw a chaotic jumbled mess on your screen. You can find it in the example directory.

cd sdl2-gfx
cabal run