Skip to content

Wrapper around Gosu and MRuby to run Gosu games natively on desktop platforms

License

Notifications You must be signed in to change notification settings

Chadowo/gosu-mruby-wrapper

Repository files navigation

Project logo

Gosu MRuby Wrapper

GitHub release (with filter) GitHub Workflow Status (with event) GitHub

Wrapper around Gosu and MRuby (and the mruby-gosu mgem by Cyberarm) to run Gosu games natively on desktop platforms.

NOTE: This project is really experimental and the person behind it (me) isn't all that great in C, so don't expect that much. Having said that feel free to try it out, and report any problems or things that should be nice to have.

Features

  • Targets major desktop platforms: Windows, MacOS-Intel (experimental, contributions appreciated!) and Linux.
    NOTE: The Windows binary's MRuby is linked with the UCRT (Universal C Runtime), the which is bundled by default only on Windows 10 and higher, for older systems it eithers needs to be installed or provided with the executable.
  • Lightweight. The Windows binary is smaller than 8MB!
  • Exporting a game should be as easily as bundling the assets and nothing more, there's no need for Ruby to be installed in the target systems.

Limitations

  • No 32 bit builds, Gosu does support it though, so it's possible.
  • No gems, this means that if your game uses CRuby gems it will not work. However you can use gems made in plain Ruby by bundling them with your source code, similar to how Love2D libraries are used.

Usage

Take a look at the Getting Started wiki page.

Building

See instructions for Windows, MacOS and Linux on the wiki.

License

This project is licensed under the MIT license.

Credits

This project was possible thanks to the following libraries.