Gosu is a 2D game development library for the Ruby and C++ programming languages, available for Mac OS X, Windows, and Linux (including Raspbian). The C++ version is also available for iPad, iPhone, and iPod Touch. In addition, you can find a RubyMotion compatible version here.
The C++ version of Gosu is only compatible with Visual C++ 2015 when used on Windows.
Gosu provides basic building blocks for games:
- a window with a main loop and callbacks
- 2D graphics and text, accelerated by 3D hardware
- sound samples and music in various formats
- keyboard, mouse, and gamepad input
- gem install gosu
precompiled for Windows (Ruby 1.8 through 2.2), OS X users see here, Linux users see here
- gem install releasy
automatically distribute any Ruby game as a Windows executable or Mac app, by Spooner
- gem install texplay
pixel-based drawing on Gosu images, by banister
- gem install ashton
a C extension that integrates GL shaders and a particle engine with Gosu, also by Spooner
- gem install gamebox
a complete game framework based on Gosu, by shawn42
- gem install chingu
a library that adds more game logic, by ippa (not maintained anymore)
- gem install chipmunk
a popular physics library with an integration example in the wiki
- gem install opengl
the standard Ruby OpenGL gem works fine with Gosu to add 3D effects
(See the included example, or this fine bundle of tutorials by tjbladez.
- gem install rmagick
a more powerful but harder-to-distribute alternative to TexPlay, example included with Gosu
Gosu and all documentation © 2001-2016 Julian Raschke, Jan Lücker, and other contributors. Gosu is released under the MIT license.