A space shooter-like game
(Assuming you have Ruby 2.3.0+ and Bundler installed)
- First, clone or download this repository (and extract the archive)
- Second, enter the downloaded folder, and run
bundle installto install the games dependencies semi-automatically - Third, run
ruby planet-wars.rbYou 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,UporRight BumperForwards/BrakeS,Down, orLeft BumperReverse/BrakeA,Left,Left D-Pad button, orLeft Stick -XTurn LeftD,Right,Right D-Pad button, orLeft Stick +XTurn Right
SpacebarorA ButtonFire bullet
UorY ButtonOpen Ship upgrades menuEnterorX ButtonOpen planet management menu if over top a planetF1orLeft Stick ButtonPause game and show controlsPorStart ButtonPause gameEscapeorBack ButtonQuit confirmation
--muteStarts the game with music paused (can be resumed from the settings menu or by pressing 'm')--debugShows debugging information, e.g. collision radius visualization--debug_gameJumps the game straight to theGamegame state--quickSkips intro and jumps toMainMenu--no-shadowDisables text shadow/highlighting--lowSets the update_interval to 30 frames per second--no-damageShip will not take damage--headingShow object headings, requires--debug
Note: using --debug_game with also trigger --debug due to laziness. ARGV.join.include?(string)
In-Game:
ZToggles heading display on or off; Only available with--debugoptionXorRight Stick ButtonToggles debug mode on or off; Only available with--debugoptionCPrints out data for debugging waves; Only available with--debugoptionVRuns Planet-to-Planet collision check, used internally to remove overlapping planets; Only available with--debugoptionMToggles mute on or off. If sound and/or music is disabled in the menu this will do nothing. Affects--mute
- Online high scores - Time survived
- Multiplayer - Death match with up to 4 players
- Multiplayer - Co-op with up to 4 players
-
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)
