Skip to content

LessThanInfinity-zz/Planets

Repository files navigation

PLANETS

Because planets totally move the same way Asteroids do.


Planets is a clone of the ever popular, classic game Asteroids. Of course, it is not the fully fledged game itself, but an imitation. (For example, the scoring system is much simpler - it's only based on how many hits you make.) Fun, nevertheless, I hope.

This project was meant as Javascript practice - specifically with canvas.js. Even so, there are certain features I am happy about - and some I have made peace with.

Satisfied:
  • White on Black contrast in interface
  • Evident ship rotation
  • Limitation of ship's max speed. (Seriously, the thing could go so fast, it would become a steady beam of light on the screen.)
  • Randomised but handle-able planets
Made peace with:
  • Planets, not asteroids. Could get the asteroids to look like asteroids, but not collision
  • Not true collision detection.
    • Detection determined on basis of radius from center
  • Limited bullets per shot

Feel like trying it out? Of course you do!

Blow up some perfectly circular planets

About

A clone of the popular Asteroids game, in canvas.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors