Ruby/SDL
SDL(Simple DirectMedia Layer) is a cross-platform multimedia library by <URL:http://www.libsdl.org/>. Ruby is powerful and useful object-oriented scripting language. Ruby/SDL enables you to use SDL from Ruby. You can easily develop a game in Ruby.
Ruby/SDL's Function
Ruby/SDL has following functions.
- Fast 2D graphics drawing.
- Input from keyboard, mouse, joystick.
- CD playback.
- Sound Playback with SDL_mixer
- TTF (TrueType Font) drawing with SDL_TTF
- Load image files, supporting BMP, PNM, XPM, LBM, PCX, GIF, JPEG, PNG, TGA formats with SDL_image
- mpeg playback with SMPGE
- Japanese string input with SDLSKK
- 3D graphics drawing with OpenGL Interface
- bdf font drawing with SDL_kanji
Ruby/SDL's advantage
Ruby/SDL has following advantages.
- You can develop games and multimedia applications with RUBY.
- Support many platforms.
Ruby/SDL's disadvantage
Ruby/SDL has following disadvantage.
Slow
Ruby is very slow compared to C or C++. In my opinion it is difficult to develop 3D games with Ruby/SDL.
But SDL has fast 2D drawing function, so I think they can develop many kinds of games with Ruby/SDL.
Platform
This library supports Linux, Win32, FreeBSD, and BeOS.
Licence
This library is distributed under LGPL 2.1.
Bug tracker
CVS repository
Download and install
You can get latest CVS version with
cvs -d :pserver:anonymous@rubyforge.org:/var/cvs/rubysdl login cvs -d :pserver:anonymous@rubyforge.org:/var/cvs/rubysdl checkout rubysdl
and latest version of stable branch with
cvs -d :pserver:anonymous@rubyforge.org:/var/cvs/rubysdl checkout -r rel-1-0-branch rubysdl
etc
fontlist_rb-0.1.zip is the ruby library of system font listing for Windows and Unix like system. This library is useful for you with Ruby/SDL.