Ruby and SDL?

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 S.
Bachelor Computer Science, University Ghent

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

On 12/23/06, Wim Vander S. [email protected] 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?

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

-austin

Wim Vander S. ha escrito:

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?

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.

On Sun, 24 Dec 2006 08:36:35 +0900
Wim Vander S. [email protected] wrote:


Wim Vander S.
Bachelor Computer Science, University Ghent

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

AFAIK, as of right now there are 3 choices for Ruby and SDL:
http://www.kmc.gr.jp/~ohai/index.en.html - 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 12/23/06, Austin Z. [email protected] wrote:

-austin

Austin Z. * [email protected] * http://www.halostatue.ca/
* [email protected] * http://www.halostatue.ca/feed/
* [email protected]

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