One Class Shooter - 1 Class Jam
About
My creation for the 1 Class Jam, One Class Shooter is an HTML5 space shooter created in a single class.
It's pretty standard as far as shoot-em-ups go. Use WASD, the arrow keys, or ,AOE to move around. Press or hold space to fire. Kill the enemies to get more points. Dodge the incoming lasers.
On mobile, you can tap and hold the screen to fire and move the ship to your finger. You can do this with the mouse on desktop, too.
I decided to make a shmup-style game since there's quite a few moving parts. Enemies spawning, enemies shooting bullets, the player shooting bullets... I figured it'd be interesting to put all those into the same class. However, it turned out to be easier than I expected, which is probably more of a testament to how good of a game engine Phaser is. It took about four to five hours to complete, working on it alone.
The code (files in the "src" folder) is licensed under the Unlicense and the assets (files in the "static/assets" folder) are all CC0 1.0 from various locations, so feel free to do whatever you want with the source!