Ruby图形扩展 Ruby/SDL

openkk 7年前

Ruby/SDL是一个SDL的Ruby扩展。这个类库令你可以绘制图形,处理输入,和播放音效。

Ruby/SDL拥有以下功能:

  • 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

项目主页:http://www.open-open.com/lib/view/home/1329205893687