Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
anyone got mlgame working against the latest ocamlsdl?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-12-06 (11:41)
From: Martin DeMello <martindemello@g...>
Subject: Re: [Caml-list] anyone got mlgame working against the latest ocamlsdl?
On Sun, Dec 6, 2009 at 2:37 PM, Richard Jones <> wrote:
> On Sun, Dec 06, 2009 at 01:43:43AM +0530, Martin DeMello wrote:
>> MLGame [] looks promising, but won't
>> compile against the current ocamlsdl from godi. Has anyone got it
>> working? Is there another nice alternative for 2D games on OCaml,
>> higher-level than plain SDL or Allegro?
> Looks interesting -- have you tried compiling it and fixing the SDL
> problems?

Trying, with the help of the beginners' list. It's asking for a
constructor for Sdlvideo.surface, but I'm having trouble understanding
why it needs one - surface is a C-backed type.

> This is an area where we could do better than CPAN by allowing
> non-maintainers to branch inactive projects.  (Backing the whole thing
> with git instead of tarballs makes branching easy and lightweight -
> the challenge then being to organize it, making the branches
> searchable, navigable and possible to merge later).

Yes, I was just thinking the same thing. I'll put something up on
github at the least, if I get it working.