Gosu 0.10.0 is out. It contains two things that I thought I had already released:
• Add new
ifRetro
/
:retro
parameter to image constructors
• Ruby: Fix mouse position getter/setter interaction
Sorry for the delay, I meant to release 0.9.3 months ago. The tl;dr is that you should start using
Image.new("filename.png", :retro => true)
instead of using
Gosu::enable_undocumented_retrofication
.
I've also replaced a few third-party libraries with easier-to-maintain public domain code.
(The version was bumped to 0.10.0 because some exotic image files might not work anymore — but at least they will consistently be broken across platforms now! No more surprises during porting.)
• Use stb_image(_write) for image I/O instead of GDI+, FreeImage,
UIImage
/
NSImage
etc.
• Use stb_vorbis for OGG decoding instead of libogg/libvorbis/libvorbisfile
This is also great news because libogg/libvorbis require written attribution in every game that uses the libraries (BSD license) - and readers of our games' README files honestly don't care about audio codecs. Less clutter for everyone.
The biggest changes in 0.10.0 are in the non-Ruby build scripts, though:
• Windows: Upgrade to Visual C++ 2015 (the free Express Desktop edition works). Microsoft has pulled all downloads for good old Visual C++ 2010, time to move on.
• Unix: Fix the CMake build files.
• Xcode: The
Gosu.podspec
for OS X and iOS is now versioned, instead of being stuck at v0.0.1.
Precompiled libraries for Windows, and a source code tarball for UNIX systems can be found here:
https://libgosu.org/downloads/To keep the Gosu codebase somewhat manageable, I have also ripped out the Socket classes for C++ and moved them to
https://github.com/jlnr/Sockets.