robc / space-shooter forked from belen-albeza/space-shooter
- Source
- Commits
- Network (2)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Mar 29 09:58:38 -0700 2009 | |
| |
LICENSE | Sun Mar 29 11:25:36 -0700 2009 | |
| |
README | Tue May 05 06:29:03 -0700 2009 | |
| |
alien.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
bullet.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
doc/ | Thu May 07 11:15:27 -0700 2009 | |
| |
energy_bar.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
engine.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
engine/ | Thu May 07 10:52:58 -0700 2009 | |
| |
explosion.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
gfx/ | Tue May 05 06:23:56 -0700 2009 | |
| |
hud.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
main.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
ship.rb | Tue May 05 06:28:03 -0700 2009 | |
| |
zorder.rb | Tue May 05 06:28:03 -0700 2009 |
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
