Skip to content

spacetimed/Project-Astro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project-Astro

Project Astro is a game that is made in JavaScript/HTML5/CSS. The game is drawn on an HTML5 Canvas element.

This project was intended to strengthen my understanding of HTML5 game animations. The main.js file contains roughly 1000 lines, powering everything in the game, from visual animations to physics.

Currently the game features no sound, although sound is expected to be added eventually.


Preview

Preview Image

Play the game now through GitHub Pages: https://spacetimed.github.io/Project-Astro/


How To Play

Movement

Use standard keyboard controls to move your player:

W + A + S + D

Abilities

Asteroid: A high damage skill shot on a 2 second cooldown.

Laser: A tracking-based laser powered by energy that drains upon use, and rebuilds over time.

Levels

There are 7 levels, with overall speed of both players increasing per level.

Goal

The goal of Project Astro is to beat all 7 levels as fast as possible. Levels rapidly become more difficult, as overall speed intensifies. Timing and precision of ability usage becomes increasingly more important as levels progress.


Browser Compatibility

As of September 2021, Project Astro has only been tested in Google Chrome, Version 92.0.4515.159.

Multi-browser compatibility is not a priority at the moment, as the library is still under initial development.

The game is expected to work in most modern browsers that support HTML5 Canvas elements.


Credits

All images and code in the game were created by me, although I referenced MDN Web Docs occasionally to learn about different built-in functions of JavaScript/CSS/HTML5.

About

A 2D HTML5 browser game that tests ability usage and mouse aim. Languages used include JavaScript, CSS, and HTML5.

Topics

Resources

License

Stars

Watchers

Forks

Contributors