Getting started

From Rubygame

Jump to: navigation, search

This wiki has moved! You can view and edit the new wiki on GitHub!

Contents

About Rubygame

Rubygame is a cross-platform game-development library for Ruby, inspired by Pygame. Rubygame strives to empower game developers by providing them with powerful and flexible mid-to-high level tools. Instead of worrying about low-level technical details, you can focus your energy on more interesting things (like making a fun game).

Installing Rubygame

Check out the Installation Instructions for instructions to install Rubygame on many different platforms.

Suggested order of reading

To get acquainted with Rubygame, we recommend exploring the available classes and modules in this order.

First, take a look at the most fundamental classes:

As a next step, read about the EventQueue, EventHandler, and the user input event classes. These allow you to handle keyboard, mouse, and joystick input from the user, among other things. By creating your own event classes, these systems can also be used to represent things occuring within your game, such as the player losing a life or the level being completed.

Finally, you may be interested in these features:

There are several sample applications in the 'samples' directory packaged with Rubygame which can also help you get started.

Further reading

Check out the rest of our guides and tutorials!

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox