Changelog History
-
v0.12.1 Changes
January 04, 2023π Quick point release here to fix a missing header file for Windows (thanks @UalaceCafe). We also updated our CI (switching to GitHub Actions) to test a release build and install on macOS, Linux, and Windows, which will help us catch issues like this in the future.
-
v0.12.0 Changes
January 03, 2023π π¨This release introduces the
Canvasclass. Similar to a bitmap, you can paint on it with shapes and images. Each time you draw, the pixels of the underlying canvas texture are changed directly β there are no Ruby objects being created like with other Ruby 2D drawing classes. This will be especially useful if you need to draw many things, but don't really care about holding on to their references (although you can certainly create them if you like). We don't have formal documentation written up just yet, but check out the examples intest/canvas*.rband try them out. This feature was largely implemented by @nogginly β thanks and great work!π There are also a few other updates with this release:
- π π΅ Adds ability to loop sounds and stop sounds playing (#260) β Thanks @mariovisic!
- π βοΈ Running
rakewill build the gem and link to user-installed dependency libraries. Userake releaseto bundle dependencies with the gem for release. (#247) - β‘οΈ π¦ Updates all dependencies to their latest versions (SDL in particular had some big changes)
Enjoy! π
-
v0.11.3 Changes
April 05, 2022π π Adds support for MinGW UCRT. RubyInstaller 3.1 introduced a new C-runtime called UCRT, which replaces MSVCRT to bring better compatibility to C standards and libraries compiled with Microsoft Visual Studio. This Ruby 2D version is now compatible with both MSYS2 environments, MINGW64 (RubyInstaller 3.0.3 and earlier) and UCRT (RubyInstaller 3.1.0 and later).
-
v0.11.2 Changes
March 10, 2022- π π€ Limits the amount of fonts that are cached (#225) β by @mariovisic
- π π¨ Improves tileset rendering performance by another ~50% (#231) β by @mariovisic
- π πͺ Adds support for nested sprite blocks to sequence animations (#233) β by @nogginly
- π βοΈ Restores native build pipeline, prep work for WebAssembly (#121)
-
v0.11.1 Changes
November 12, 2021π Small fix for Apple Silicon / M1 Macs (arm64). Resolves the
Symbol not found '_ModPlug_GetSettings'error. -
v0.11.0 Changes
September 07, 2021- π β‘οΈ Improves texture rendering by 75% π² (#213) β Nice work @mariovisic!
- π π Volume control added to
Sound(#170) β Thanks @tlrasor! - π€ Adds font styles, like bold and italics (#214) β Impressive @mariovisic!
- π π¨ Moves
.r/.g/.b/.ashortcuts to.color(#206) β Thanks @collindonnell! - π π Adds flipping and rotation to tilesets (#211) β Thanks @mariovisic!
- π» Improvements for BSD β Thanks @wmoxam and @compufox!
- π¨ π Lots of refactoring and fixes, thanks (again) to @mariovisic!
π See all changes.
-
v0.10.0 Changes
July 27, 2021- π π· Adds support for tilesets (#201 by @mariovisic) β see usage
- π βοΈ Add ability to draw directly to the window without having to create objects (#142) β see usage
- π π§βπ» Introduces new syntax patterns (#197) β see examples in the PR
- π πΎ Adds entities (#199) β see usage
- π π΅ Check the
.lengthof audio files (#198 by @mariovisic) - β‘οΈ π Updates dependencies to support Macs with Apple silicon
π See all changes.
-
v0.9.5 Changes
February 13, 2021- π π‘ Adds support for UTF-8 text rendering
- βοΈ Incorporates Simple 2D into the native extension, so it's no longer a dependency
π See all changes.
-
v0.9.4 Changes
February 16, 2020- π β‘οΈ Huge performance improvements using OpenGL 3.3+, by way of batch rendering
- π πΌ Fixes an issue with SDL 2.0.10 and macOS 10.15 (Catalina) where the viewport doesn't fill the entire window (for real this time)
π See all changes.
-
v0.9.3 Changes
February 10, 2020π Fixes macOS Catalina issue where OpenGL viewport does not fill the window.