v0.12.0
🎨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
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! 💎