Andromeda Invaders: A 1980s-arcade-style game using HTML5, Canvas, Web Audio
github.com
github.com
Obligatory self-promotion: https://justin-lloyd.com/ which is my C.V. site that includes a 1970's-era space invaders style game based on the portable Galaxy Invaders 1000 game.
https://github.com/JustinLloyd/invaders
"Invaders from 78" is written in Typescript, implements a small ECS framework, uses Pixi for canvas rendering, and is event driven. No audio because, well... it's a C.V. website. It also doesn't work on mobile because the audience numbers for mobile visitors to my C.V. website is near enough zero that it would be wasted effort. Please excuse any front-end sins I may have committed because I generally don't do front-end web dev.
I have a lot of fun making little JavaScript games like this and recently made a way to create sprites using ASCII[0] inline with the code. I call these “pixel-character encoded images” aka PCEImages. I also made an editor web page[1] to help make this ASCII art.
I noticed your sprites are drawn as rectangles in the canvas. PCEImage could hopefully drop in pretty easily if you want to try it out!
lvl 7 on first try, mobile.
Does the player's ship have autofire or is the player supposed to use a fire button?
The player has autofire. No buttons need to be pressed. The player emits a green laser pulse automatically. As soon as one laser pulse disappears (either due to going off the canvas or due to hitting a ship or canon), the next laser pulse is emitted automatically.
For that reason, you may notice that the laser pulses appear more frequently while hitting low flying ships because it is quicker to hit a low flying ship than a high flying ship.
Oh no, it's my own fault. I hit space to shoot and it pauses. I didn't realize it autoshoots.