One of my favorite aspects of Ruby is that everything is an object with methods. Adding global operators/functions like this would only complicate the language.
> But we also -- perhaps more often? -- ask questions like "Is this item part of this group?" We are asking a question about the item.
Here we are actually asking the group a question about itself. An item would not know a group's contents.
Early on I took a close look at Pixi.js, though it turned out to not be the right fit for the project. However, it is planned for Yeah to have an interchangeable WebGL renderer at some point, similar to Pixi.js and Three.js.
Gosu is a library that provides the basic building blocks for a video game, while Yeah is an opinionated framework designed to be fast to build games with. It is similar to Sinatra vs Ruby on Rails.
Yeah is in early development; more time-saving constructs and functionality are in the works (animated sprites, collision detection, touch controls, etc).
Yeah compiles to JS now, though it is platform-agnostic - in the future it will also compile into PC executables and mobile apps.
Author here. Make sure to check out the examples and docs! This is alpha-stage software, but there is roughly enough functionality to build a complete modern video game.
Please ask me any questions you have! Feedback is appreciated.
Have been going through those to learn how to build out the rendering for my game framework. Awesome stuff! Your tutorials have saved me a lot of grokking time.
You have to drop down to JavaScript at some point, though in practice you would not write this much JavaScript mixed with Ruby in an app. The joy of using Opal is having the JavaScript wrapped away in a module, letting you use pure Ruby for your app.
The game's physics, visuals and sound actually seem to be thoughtfully designed. It has an open yet secluded feel that can be compared to Minecraft or other historically successful games.
I wish Microsoft never entered the video game industry in the first place. They made it worse for everyone for their own profit.