Discontinued because the performance is really not great.
YampaSDL2 is basically a headstart for the FRP library Yampa and SDL2. All the boilerplate which is normally necessary for these two libraries to work together is already taken care of. In the end, all that remains is a high-level interface specifically tailored to Yampa which should get you going in no time.
Screenshot of some drawn shapes.
Primary Goals:
- As little setup as possible
- Easy to use (some feedback would be appreciated)
- Display Shapes
- Rectangle
- Circle
- Triangle
- Polygon
- Display Images
- Animations
- Handle Input
- Play sound
This library is still work in progress
To use yampa-sdl2 you need to have the C-library sdl2 installed on your system.
yampa-sdl2 is on hackage! Adding yampa-sdl2 to your dependencies like any other package should do the trick
Head over to the wiki.
This project is licensed under the MIT License - see the LICENSE file for details.