space-patrol



Shoot ‘em up space game made with Phaser 3.
Play!

Credits
Everything not mentioned below was made by Nuno Freitas (programming and game design).
Artwork
Graphics
- Big Rook Games, Undead Empire - CC-BY 3.0: Crate smoke explosion, burst weapon explosion.
- Jonas Wagner, JS WARS - CC BY-SA 3.0: Meteor and enemy explosion.
- Kenney, Platformer Pack Redux - CC0 1.0: Health and shield powerups.
- Kenney, Sokoban - CC0 1.0: Crates.
- Kenney, Space Shooter Redux - CC0 1.0: Player ship, shield, meteors, enemies (black and blue), and stars background.
- Skorpio, Sci-fi effects - CC-BY 3.0, GPL 3.0: Player explosion and stars background.
- Skorpio, Space Ship Construction Kit - CC-BY 3.0, GPL 3.0: Nebula.
- Tatermand, Space Game Art Pack (Extended) - CC-BY-SA 3.0: Space dust, nebula, and star.
- Tiny Speck, Glitch - CC0 1.0: Pulse and burst powerups.
- xbost, NES Cyrillic - Public Domain: Font.
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