Gosu v1.0.0 Release Notes

Release Date: 2020-12-29 // over 3 years ago
    • Breaking change: Image.from_text, Font.draw_text and Font.text_width have stopped parsing pseudo-HTML markup. Replace "text" with "markup" in each method name to get this functionality back.
    • ๐Ÿ’ฅ Breaking change: The alternative gosu/zen interface has been removed.
    • ๐Ÿ’ฅ Breaking change: Gosu::Window::needs_cursor? now returns true by default, not false.
    • ๐Ÿ‘Œ Support for Ruby 3.0. Gosu now requires Ruby 2.5 or later, and can only be used on Windows when the RubyInstaller DevKit has been installed.
    • Support for analog gamepad sticks. Previously, all sticks and D-pads of gamepad 1 were merged into the same constants such as GP_0_LEFT. Now there is a GP_0_DPAD_LEFT button ID for the D-pad, and GP_LEFT_STICK_X_AXIS / GP_RIGHT_STICK_X_AXIS axis IDs that which can be used with Gosu.axis() to query a value between -1 and 1. Thanks to @cyberarm for this contribution. (#524, #540, #542, #543. #546)
    • Replace all audio libraries by a statically bundled copy of SDL_sound. (#539)
    • ๐Ÿ–จ Added button IDs: KB_PRINT_SCREEN, KB_SCROLL_LOCK, KB_PAUSE, KB_CAPS_LOCK. Thanks to @edwinacunav for this contribution. (#545)
    • ๐Ÿ’Ž Some method arguments have been made optional again, for compatibility with very early Ruby/Gosu projects.
    • ๐ŸŽ C++: Rewrite CMake files for Linux and macOS (#535), clean up MSVC 2019 project.
    • โž• Adds a C API to use Gosu from other languages (using FFI or other mechanisms); this is a work in progress, but there are proof of concept bindings for Crystal and MRuby. Join the Discord server to learn more. Thanks to @cyberarm for this contribution.
    • โšก๏ธ Update all stb libraries.
    • โšก๏ธ Windows: Update the bundled versions of SDL 2 (2.0.14) and OpenAL soft (1.21.0).