Gosu 0.7.6 - features RMagick integration & new example game


Gosu is a 2D game development/multimedia library with a focus on
simplicity and freedom. Version is now available from GoogleCode [1]
and via ‘gem install gosu’ (on Windows and OS X). Example games are
included, documentation can be found on the GoogleCode site as well.

This version’s most significant addition is the ability to use RMagick
images as graphics in Gosu. It has often been criticized that Gosu’s
immutable images make Worms/Gorilla-style games impossible to
implement, so now there is an example game that does exactly that-
complete with a dynamically created landscape and texturing! [2]
Also shown in the new example is a simple extensible object system,
particle effects (sort of) and using RMagick to image files in formats
not directly supported by Gosu-all in about 300 clean lines (comments
and whitespace not counted), written in an afternoon’s time.

Other changes:

  • Fixed a bug potentially cutting off text on all platforms
  • Fixed a bug which would exclude lines from very long text
  • Window#new: update_interval is now a float, not an integer. The new
    default value is 16.666666 (= 60 FPS), meaning that 60 Hz games are
    now not only possible, but also the default in case the user does not
    feel like deciding on an update interval.
  • The new Image#draw_as_quad method can be used to draw the underlying
    OpenGL texture into a non-rectangular area.

I hope you enjoy it!

[1] http://code.google.com/p/gosu/
[2] http://www.raschke.de/julian/temp/gosu-rmagick-integration.jpg