robc / space-shooter forked from belen-albeza/space-shooter

Simple shooter that shows how to use Gosu to create a game in Ruby

This URL has Read+Write access

name age message
file .gitignore Sun Mar 29 09:58:38 -0700 2009 Adding gitignore [belen-albeza]
file LICENSE Sun Mar 29 11:25:36 -0700 2009 Moved the license to another file [belen-albeza]
file README Tue May 05 06:29:03 -0700 2009 Spam protection for my e-mail address [belen-albeza]
file alien.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
file bullet.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
directory doc/ Thu May 07 11:15:27 -0700 2009 Rdoc re-generated [belen-albeza]
file energy_bar.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
file engine.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
directory engine/ Thu May 07 10:52:58 -0700 2009 Rdoc'd MenuState [belen-albeza]
file explosion.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
directory gfx/ Tue May 05 06:23:56 -0700 2009 Minor bugs and documentation [belen-albeza]
file hud.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
file main.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
file ship.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
file zorder.rb Tue May 05 06:28:03 -0700 2009 Missing files [belen-albeza]
README
Simple shooter game that shows how to use the Gosu library to create a game with Ruby. This example game uses a 
small simple framework which allows the programmer to create and handle custom sprites and game states (ie, game screens 
such as the main menu, the play screen, etc).

Running
=======

You'll need the gosu gem:
$ gem install gosu

Then run the main.rb file:
$ruby main.rb

How to play
===========

Menu controls:

* Use the arrow keys (up and down) to browse the different menu options
* Press Enter or the space bar to select the highlighted option
* Press Esc to quit the game or go back to the main menu screen 

In game controls:

* Use the arrow keys to move the space ship horizontally.
* Hit the space bar to shoot
* Avoid colliding with aliens!
* Press Esc to go back to the main menu

Credits & copying
=================

This game is (c) 2009 Belén Albeza González.
Graphics and source code released under the MIT license. See LICENSE for details.

You can contact me at: benko AT ladybenko DOT net