Ruby and SDL?

Hi,

I was wondering if there was a decent binding for SDL in ruby?
The only thing I can find is http://www.kmc.gr.jp/~ohai/index.en.html, but that one doesn't look all that reliable. Is there anyone with some experience with this binding? Is it reliable? And how about efficiency?

Thanks,

Wim

···

--
Wim Vander Schelden
Bachelor Computer Science, University Ghent

http://nanoblog.ath.cx
My weblog, powered by Ruby and BSD licensed.

http://rubyforge.org/projects/rubysdl/

-austin

···

On 12/23/06, Wim Vander Schelden <wim.vanderschelden@gmail.com> wrote:

Hi,

I was wondering if there was a decent binding for SDL in ruby?
The only thing I can find is Web page of ohai,
but that one doesn't look all that reliable. Is there anyone with some
experience with this binding? Is it reliable? And how about efficiency?

--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
               * austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
               * austin@zieglers.ca

Wim Vander Schelden ha escrito:

Hi,

I was wondering if there was a decent binding for SDL in ruby?
The only thing I can find is Web page of ohai,
but that one doesn't look all that reliable. Is there anyone with some
experience with this binding? Is it reliable? And how about efficiency?

Yes, it works fine (at least on unix boxes), with SDL1.2. It is as
efficient as any scripting binding can be.
The one on rubyforge, on the other hand, is more buggy and will take
some hacking to get it compiled. Avoid it.

AFAIK, as of right now there are 3 choices for Ruby and SDL:
Web page of ohai - Ruby/SDL
http://rudl.sourceforge.net/ - RUDL
http://rubygame.seul.org/ - RubyGame

Both Ruby/SDL and RubyGame are still being updated, but I have not seen a release from RUDL in a while a consider it unusable (and poorly documented). I myself use Ruby/SDL, but that is only because when I began Rubygame did not exist. I believe Rubygame is much more "Ruby-esque" than Ruby/SDL and has slightly better documentation. Overall I'd say go for Rubygame, but Ruby/SDL is just as good.

http://rubyforge.org/projects/rubysdl/ is the un-updated version of the Ruby/SDL link above.

···

On Sun, 24 Dec 2006 08:36:35 +0900 Wim Vander Schelden <wim.vanderschelden@gmail.com> wrote:

Hi,

I was wondering if there was a decent binding for SDL in ruby?
The only thing I can find is Web page of ohai,
but that one doesn't look all that reliable. Is there anyone with some
experience with this binding? Is it reliable? And how about efficiency?

Thanks,

Wim

--
Wim Vander Schelden
Bachelor Computer Science, University Ghent

http://nanoblog.ath.cx
My weblog, powered by Ruby and BSD licensed.

--
Steven Davidovitz

RubySDL is a direct function translation into Ruby

RUDL (http://rudl.sourceforge.net/\) is a more Ruby-esque wrapper around SDL.

They are both very fuctional and stable last I checked.

Jason

···

On 12/23/06, Austin Ziegler <halostatue@gmail.com> wrote:

On 12/23/06, Wim Vander Schelden <wim.vanderschelden@gmail.com> wrote:
> Hi,
>
> I was wondering if there was a decent binding for SDL in ruby?
> The only thing I can find is http://www.kmc.gr.jp/~ohai/index.en.html,
> but that one doesn't look all that reliable. Is there anyone with some
> experience with this binding? Is it reliable? And how about efficiency?

http://rubyforge.org/projects/rubysdl/

-austin
--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
               * austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
               * austin@zieglers.ca