MiniGL

MiniGL is a minimal 2D Game Library, available as a Ruby gem, and built on top of the Gosu gem.

It provides the following features:

  • Resource management (images, sounds, ...)
  • Input manipulation (keyboard, mouse, ...)
  • UI (text, buttons, text fields, ...)
  • Basic physics and collision checking
  • Animated objects

More functionalities are coming. Feel free to contribute! You can send feedback to [email protected].

Installing

MiniGL was built on top of the Gosu gem. This gem has its own dependencies for compiling extensions. Visit this page for details.

After installing the gosu dependencies, you can just gem install minigl.

Please note:

  • The test package is not complete! Most of the functionality provided by the gem is difficult to test automatically, but you can check the examples provided with the gem.
  • The library is 100% RDoc-documented.
  • An auxiliary, tutorial-like documentation is under construction here.

Version 2.0.4

  • Adjustment in the ramp physics.
  • Adjustment in the move_carrying method (from Movement) to perform collision checking for the carried objects (and corresponding adjustment in the cycle method).