Skip to content

A fun project! Built with HTML, CSS and JavaScript. Optimized for smooth gameplay at 60 FPS with no frame drops. Features include a pause menu, score bar and customisable skins.

Notifications You must be signed in to change notification settings

connorhanks/Space-Invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders

A classic space invaders game implemented with HTML, CSS and JavaScript. The game runs smoothly at 60 FPS with no frame drops, thanks to the use of the requestAnimationFrame method and thorough optimisations.

In addition to the classic gameplay, this project also includes added skin customisation, a pause menu and score banner that displays the timer, current score, and remaining lives.

Whilst working on this project, I had the opportunity to learn about and practice various web development concepts and technologies, including:

  • DOM manipulation
  • Event loops
  • FPS optimization
  • CSS transform and opacity properties
  • Web performance optimization using developer tools on Firefox and Chrome
  • Tasks such as JavaScript execution, style calculation, layout, painting and compositing

To play the game, simply clone the repo and open the index.html file in your web browser.

About

A fun project! Built with HTML, CSS and JavaScript. Optimized for smooth gameplay at 60 FPS with no frame drops. Features include a pause menu, score bar and customisable skins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published