Download Latest Version v0.12.1 source code.tar.gz (90.4 kB)
Email in envelope

Get an email when there's a new version of Ruby 2D

Home / v0.12.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-01-03 1.2 kB
v0.12.0 source code.tar.gz 2023-01-03 90.3 kB
v0.12.0 source code.zip 2023-01-03 130.7 kB
Totals: 3 Items   222.1 kB 1

🎨This release introduces the Canvas class. 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 in test/canvas*.rb and 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 rake will build the gem and link to user-installed dependency libraries. Use rake release to bundle dependencies with the gem for release. (#247) - 📦 Updates all dependencies to their latest versions (SDL in particular had some big changes)

Enjoy! 💎

Source: README.md, updated 2023-01-03