Premium Features

Download Video

What we'll build

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

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
S
SPURTECH posted 3 years ago

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.

1

Providing the lift to launch your development career

© 2026 Chris Courses. All rights reserved.