All Versions
23
Latest Version
Avg Release Cycle
78 days
Latest Release
1057 days ago

Changelog History
Page 1

  • v1.4.3 Changes

    March 27, 2022
    • Update bundled dependencies: stb_image, stb_image_write, stb_truetype, stb_vorbis, utf8proc, mojoAL, SDL_sound.
    • โšก๏ธ These updates fix MP3 playback and Gosu::Sample pitch changes. (#592, #623).
    • Introduce optional retro: true option in Font#initialize, thanks to @cyberarm. (#479, #624)
  • v1.4.1 Changes

    January 30, 2022
    • ๐Ÿ›  Fix an audio bug when repeatedly playing a Gosu::Song. (#618 / #619)
    • ๐Ÿ›  Fixed Window::tick never waiting for update_interval. (#620 / #621)

    ๐Ÿ›  Both fixes once again contributed by @cyberarm.

  • v1.4.0 Changes

    January 21, 2022
    • ๐Ÿ Windows: Support for Ruby 3.1. (#611/#612)
    • โšก๏ธ Windows: Update SDL to 2.0.20 (#610), also update SDL_sound on all platforms (#606).
    • Replace OpenAL (usually oal-soft) with mojoAL. (#608)

    All three improvements contributed by @cyberarm.

  • v1.3.0 Changes

    January 02, 2022
    • Add Window#gain_focus callback to mirror Window#lose_focus, which was previously undocumented and only implemented on iOS. (#600) Thanks @cyberarm!
    • ๐Ÿ›  Fix Gosu::Window#tick not raising errors from callbacks. (#594) Thanks again, @cyberarm!
    • ๐Ÿ”จ C++: Refactor the Gosu::Color interface to be less verbose.
  • v1.2.0 Changes

    March 18, 2021
    • ๐Ÿ—„ Gosu.language() is deprecated, please use Gosu.user_languages() instead.
    • ๐ŸŽ macOS: Fixed loading of bold/italic system TTF fonts.
  • v1.1.1 Changes

    February 13, 2021
    • Improved accuracy of Gosu.available_width / Gosu.available_height. Thanks @cyberarm!
    • ๐Ÿ›  Fixed a bug where macros (images returned by Gosu.record) were deformed when rendered with specific coordinates. Thanks @jsb!
    • ๐ŸŽ macOS: Improved support for ARM-based Macs.
  • v1.1.0 Changes

    January 20, 2021
    • Gosu::Window can now be created with borderless: true (WF_BORDERLESS in C++) to hide all window chrome. Thanks to @cyberarm for this contribution.
    • Gosu::Window#resizable= and Gosu::Window#borderless= allow changing these properties later.
    • ๐Ÿ Windows: Pin the main thread to the first processor core during Window::show to avoid timing glitches.
  • v1.0.0 Changes

    December 29, 2020
    • 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).
  • v0.15.2 Changes

    June 02, 2020
    • ๐Ÿง 2020-05-20 Linux: Fix compilation errors with gcc 10.
  • v0.15.1 Changes

    January 21, 2020
    • ๐Ÿ’Ž 2020-01-21: Support for Ruby 2.7 (#520)
      โšก๏ธ โ€ข 2020-01-20: Update utf8proc and all used stb libraries (#520)
      โšก๏ธ โ€ข 2020-01-20: Windows: Update bundled SDL version to 2.0.10 (#520)