Space Invaders is a classic game commonly found at any retro-based arcade. To code it, we'll need to learn a few concepts regarding image rendering, physics, and object interaction. Here I'll teach you all of that and more with JavaScript and HTML canvas.
Game Assets: https://drive.google.com/drive/folders/1V7oM0oQvyOrg4gdtBN9yMSrxqjPNszXl?usp=sharing
Sorry Chris but I found 2 bugs.....
The background music continues to play after game over and even if you leave the game so I added.....
audio.background(stop) on game over and audio.background(play) on restart function. That worked a treat.
The second is if you hold space bar it fires 1 then continuously very rapidly making the power up irrelevant I'm struggling to fix this.
And pleeeease add mobile functionality to this game I would love to play it on my phone.