Gosu v0.14.0 Release Notes

Release Date: 2018-09-17 // over 5 years ago
    • 💅 2018-09-13: Ruby: Gosu::Font#initialize now accepts style parameters: bold: true, italic: false. Unlike in earlier versions of Gosu, Font is not bold by default.
    • 🍎 2018-09-10: macOS: Compatibility with macOS 10.14 Mojave (#458)
    • 🍎 2018-09-10: macOS: Fix mouse position in multi-monitor setups (SDL bug 4255)
    • 2018-09-06: Ruby: Font#draw_markup/Font#draw_text, Font#draw_markup_rel/Font#draw_text_rel, and Font#markup_width/Font#text_width, all parse markup for compatibility with older versions of Gosu. The existing methods will stop parsing markup in Gosu 1.0. If you want to keep using the markup feature, you should use the markup methods from now on.
    • 2018-09-06: Ruby: Image.from_markup (new) and Image.from_text both parse markup for compatibility with older versions of Gosu. Image.from_text will stop parsing markup in Gosu 1.0.
    • 2018-09-06: Ruby: Image.from_markup/Image.from_text now supports alignment: :center, alignment: :right, and the spacing: parameter even when there is no width: parameter.
    • 👀 2018-09-06: C++: The interface for rendering text has changed completely, please look at Gosu/Text.hpp to see the new set of available functions.
    • 💻 2018-07-11: All: Gosu.render(width, height) { ... } can render arbitrary Gosu code to a new texture and return it as a Gosu::Image. This method may not be supported on computers with outdated OpenGL implementations. Thanks for @Kjarrigan for getting this method off the ground.
    • 👍 2018-05-05: iOS: Support for Gosu::TextInput on iOS.
    • 2018-05-03: All: Text rendering has been completely rewritten to only use stb_truetype for font rendering on all platforms. Gosu now renders text the same on all platforms (as long as the fonts are the same).
    • ⚡️ 2018-04-04: Ruby: Remove support for Ruby 1.8-2.2 on Windows. Ruby 1.9 through 2.2 are still supported on macOS and Linux while I'm working to update (fix) the CI.