Skip to content

Being Compatible

Chadow edited this page Dec 10, 2023 · 3 revisions

Contents

  1. Why
    1. Gems
    2. Reduced Feature Set

Why

As you may know, this project uses MRuby to run Ruby code, as so, it is subject to the inherent limitations of MRuby. Of course this doesn't mean your game needs to be rebuilt from the ground up, but it'll (probably) need some changes to work correctly.

Gems

You can't use most CRuby gems on MRuby, and gems that use C-extensions are impossible to use. however gems that are made in pure ruby using a more or less reduced feature set could probably work, of course you'd have to bundle the gem's code with your own to use it, similar to how most libraries are used in Love2D.

Reduced Feature Set

Not every gem of the Ruby standard library has a MRuby counterpart available, and not all features might be available. I recommend taking a look on the MRuby mrbgems to see what's available by the MRuby developers, and the gembox used in this repository to see what it's bundled.

Clone this wiki locally