27 August 2008

Getting started

So, you're ready to get started programming games in Ruby? Here is what you will need:

First of all, you need to install Ruby for your operating system

If you use windows, you can get an installer for Ruby here:
http://rubyforge.org/frs/download.php/29263/ruby186-26.exe

You'll also have to install Gosu or Rubygame, as they are libraries to write games. I reccomend you install Rubygame, because that's what I use and know best. Rubygame for windows is here: http://sourceforge.net/project/downloading.php?group_id=172781&use_mirror=mesh&filename=rubygame-2.3.0-x86-mswin32-60.gem&65252267. T read about how to install this "gem" file, please read here:
http://rubygame.wiki.sourceforge.net/win32_install_gem

Ruby SDL for is also nice, but a bit more difficult to use.
It even has a special version for windows that includes the Ruby interpreter. Look for it here:
http://www.kmc.gr.jp/~ohai/rubysdl.en.html
http://www.kmc.gr.jp/~ohai/rubysdl_download.en.html

Finally, you'll need a programmer's editor to write the programs in. The one click ruby installer comes with SciTE by default, that's a nice editor for Ruby. But there are many others, so just look it up. :)