Book: Developing Games With Ruby
Complete process of building this game is described step by step in this free to read book:
Before installing, make sure you have:
- Ruby installed, preferably through rbenv, not rvm.
- ImageMagick (
gem install rmagickshould work).
- Gosu prerequisites for Mac, Linux or Windows
To install it, run
$ gem install tank_island
Starting the game
There are several ways to start the game.
Running in 800x600 window mode
Running with custom resolution
$ w=1600 h=1200 tank_island
Running full screen with custom resolution
$ fs=1 w=1200 h=800 tank_island
Dmoves your tank.
ESCgoes into menu and away from it.
Rrespawns your tank.
Tspawns an enemy tank under mouse cursor.
F1enters debug mode.