A space shooter-like game
(Assuming you have Ruby 2.3.0+ and Bundler installed)
bundle install
to install the games dependencies semi-automaticallyruby planet-wars.rb
You should now be playing the game, enjoy.Or, if you have Windows, you can download latest release of the game from here.
After selecting your choice of difficultly, your ship is placed in the middle of hostile point in space where enemies constantly spawn.
You can visit planets by pressing enter when on top of a planet, while visiting a planet you can build a base. Bases act as mines, collecting available resources on the planet, bases also act as a repair station, allowing your ship to be repaired.
See how long you can survive.
Note: Controller controls assume an Xbox compatible controller.
W
, Up
or Right Bumper
Forwards/BrakeS
, Down
, or Left Bumper
Reverse/BrakeA
, Left
, Left D-Pad button
, or Left Stick -X
Turn LeftD
, Right
, Right D-Pad button
, or Left Stick +X
Turn RightSpacebar
or A Button
Fire bulletU
or Y Button
Open Ship upgrades menuEnter
or X Button
Open planet management menu if over top a planetF1
or Left Stick Button
Pause game and show controlsP
or Start Button
Pause gameEscape
or Back Button
Quit confirmation--mute
Starts the game with music paused (can be resumed from the settings menu or by pressing 'm')--debug
Shows debugging information, e.g. collision radius visualization--debug_game
Jumps the game straight to the Game
game state--quick
Skips intro and jumps to MainMenu
--no-shadow
Disables text shadow/highlighting--low
Sets the update_interval to 30 frames per second--no-damage
Ship will not take damage--heading
Show object headings, requires --debug
Note: using --debug_game
with also trigger --debug
due to laziness. ARGV.join.include?(string)
In-Game:
Z
Toggles heading display on or off; Only available with --debug
optionX
or Right Stick Button
Toggles debug mode on or off; Only available with --debug
optionC
Prints out data for debugging waves; Only available with --debug
optionV
Runs Planet-to-Planet collision check, used internally to remove overlapping planets; Only available with --debug
optionM
Toggles mute on or off. If sound and/or music is disabled in the menu this will do nothing. Affects --mute
All Sprites - Cyberarm - (CC) Attribution-ShareAlike 3.0 Unported License
All Music - Alexandr Zhelanov - (CC) Attribution 3.0 Unported License
Font: Alfphabet IV - Pierre Huyghebaert and Ludivine Loiseau - SIL Open Font License
Font: Hobby Of Night - Fernando Haro - SIL Open Font License
Sound: Achievement Unlocked - Kastenfrosch* - (CC) Zero
Sound: Explosion - PSYCHO BOOMER* - (CC) Zero
Sound: Hit - Keatonmcq* - (CC) Zero
Sound: Laser - fins* - (CC) Zero
(* FreeSound username)