Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

nunof07/space-patrol

Repository files navigation

space-patrol

Build Status semantic-release Commitizen friendly License: MIT

codecov Maintainability Lines of Code Files

Greenkeeper badge Dependencies Development Dependencies

Shoot 'em up space game made with Phaser 3.

Play!

Space Patrol

Credits

Everything not mentioned below was made by Nuno Freitas (programming and game design).

Artwork

Graphics

Audio

All audio effects from Sonniss, GDC 2018 - GDC Bundle:

  • 3maze, "drop_multiple_boxes_003": Crate explosion.
  • Airborne Sound, "Drone,Cyber,Deep,Pulse,Disturbing,Invasive,Loop": Ambient sound.
  • Fox Audio Post-Production, "Droid_Vocal_23": Shield upgrade.
  • Fox Audio Post-Production, "SFX_Sub_Sonic_Bass_28": Player explosion.
  • Gamemaster Audio, "gun_silenced_sniper1_shot_01": Burst weapon fire and hit.
  • Glitchedtones, "User Interface Notification Bubbles 04": Weapon upgrade.
  • Glitchedtones, "User Interface Shut Down 01": Game over.
  • Lukas Tvrdon, "Distant Blast 17": Explosion.
  • Olivier Girardot, "Bullet Impact 22": Pulse weapon hit.
  • Phil Michalski, "PM_CS_beep_denied5": Powerup picked.
  • Tone Manufacture - Michael F. Bates, "TM_GLITCH UI_Glitches dry_53": Pulse weapon fire.

Libraries

See package.json for external dependencies.

Development

  • Clone repository.
  • Run npm install in project folder.
  • Run npm run info to see all available scripts.
  • Run npm start to serve game and watch for changes.
  • Run npm run test:watch to start tests and watch for changes.

Gameplay

Continuous waves of enemies with randomly generated parameters.

Each enemy destroyed increases the highscore by the amount of the enemy's hitpoints.

Player stats

Player Start Max
Health 200 200
Shield 0 150

Weapon stats

Weapon Step Damage Level 1 Level 2 Level 3 Level 4 Level 5 Level 6
Pulse 150 10 1 2 4 6 10 18
Burst 1000 75 2 4 6 8 10 12

Powerup stats

Powerup Change
Pulse +1 level
Burst +1 level
Health +50 health
Shield +50 shield

Enemy stats

Enemy Hitpoints Damage
Meteor (Small) 50 -
Meteor (Medium) 75 -
Meteor (Large) 300 -
Blue 120 20
Black 200 35

Project Stats

  • 103 hours to complete.