I've moved all the Ruby example games into a separate Ruby gem: https://github.com/gosu/gosu-examples
Now you can simply run
gem install gosu-examples
to open a list of examples. The 'S' hotkey opens each example in a new text editor window.
Please let me know what you think—hopefully this will be easier to find (and maintain!) than the
folder in previous Gosu gems.
(Versions 1.0.0, 1.0.1 and 1.0.2 was me being an idiot with the
$LOAD_PATH, and have been yanked. 1.0.3 is the first public version.)
This looks very cool, but it gives me an error related to rmagick (on Windows 7) and won't exit cleanly. It works fine, otherwise, though. I don't feel like jumping through the necessary hoops to install rmagick just to get rid of an error message, so some more error checking would be nice, when you get a chance.
EDIT: Actually, all errors now hang Ruby, so that it will not go back to the prompt, or won't close its windows. Not sure if this is caused by Gosu or Ruby. I'll investigate further.
I write these errors myself using
puts - if you don't have the
rmagick gem installed, you won't see the RMagick related examples in the list. Same for OpenGL or Chipmunk.
Edit: I can reproduce this. Oops.
Fixed - will push Gosu 0.9.1 in a bit. Thanks for reporting this!
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill