/bountyhunter

Browser-based, HTML-Canvas/Javascript Asteroids

Primary LanguageJavaScript

Bounty Hunter

##Live

Bounty Hunter is a Javascript on HTML5 Canvas web application inspired by Asteroids The user controls a ship with WASD or ←↑↓→ collecting money in a treacherous asteroid field before they go bankrupt.

Bounty Hunter has:

  • Class-Based Game and GameView
  • Class-Based Moving Objects with Inheritance
  • Vector-Algebra and Trigonometric based movement and rotation, respectively
  • Positional drawing and movement in an HTML5 Canvas
  • Selective wrapping of objects that reach the edge of screen
  • Spawn-position algorithm which attempts to find the clearest space
  • Distinctive processing of collisions between objects
  • Keyboard inputs handled by Keymaster plugin
  • Splitting of asteroids on collision with missles
  • Unique and stylistic images drawn for different objects and backgrounds
  • Rotation of images drawn on the HTML5 canvas
  • Display of Woolong balance at the top of screen
  • Weighted random spawning of Woolong values with unique images
  • Pause and Game Over screens
  • Display of game stats on the Game Over screen
  • Ability to restart on Game Over