Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Space Invaders Game Tutorial with JavaScript and HTML Canvas

Chris Courses via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course teaches learners to build a 2D Space Invaders game with vanilla JavaScript and HTML Canvas. It covers rendering, physics, object interaction, enemy grids, projectiles, explosions, scoring, and game-over logic.

Syllabus

Project intro
Project setup
Create a player
Move the player
Create projectiles
Create an invader
Create and move grids of invaders
Spawn grids at intervals
Shoot invaders
Take into account new grid width
Invaders shoot back
Enemy explosions
Create background stars
Lose condition
Score
Fixed-width canvas

Taught by

Chris Courses

Reviews

Start your review of Space Invaders Game Tutorial with JavaScript and HTML Canvas

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.