January 6, 2010
SDL and OCaml

In case you’re a minority like me and are working with OCaml (I don’t know why, but somehow I doubt that) and thinking about trying to play with OpenGL, you may be interested to know that I have forked glcaml project and put that on the GitHub: http://github.com/einars/glcaml/

Glcaml provides an interface to OpenGL and SDL libraries for OCaml in a nice cross-platform-compatible way. Until now, it didn’t support SDL_mixer (and some other SDL_* libraries), thus playing sounds and music was quite difficult. No more! — as I’ve added support for the mixer, and more changes will come, when my need arises.

For your convenience, there’s an example of using the mixer interface available, showing various features of the library.

And, most importantly: Have fun!

blog comments powered by Disqus