Skip to content

Recreation of classic game Space Invaders using Vanilla JavaScript and HTML Canvas. Uses concepts of image rendering, physics, object interaction, collision detection, random spawning and frame-by-frame rendering

Notifications You must be signed in to change notification settings

marcal279/space-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders with JS and HTML Canvas

Description

Space Invaders is a classic game that you should be able to find at any retro-based arcade. Using Vanilla JavaScript and HTML Canvas, it is possible to recreate the game using concepts of image rendering, physics, and object interaction.

image

Controls:

Player Movement: A/D keys or LeftArrow/RightArrow keys

Shooting: Spacebar

Expandability

Current build implements random spawning of enemies at random time instances, random shooting of enemy projectiles, ability for player to shoot projectiles, and collission detection between projectiles and player/enemy

Future build will see: scoring system, audio cues, explosion graphics, loading menu, 3 lives for player and power ups

About

Recreation of classic game Space Invaders using Vanilla JavaScript and HTML Canvas. Uses concepts of image rendering, physics, object interaction, collision detection, random spawning and frame-by-frame rendering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published