Skip to content

Just-Glue-It/simple_canvas_game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasks

  • hero in middle of left edge of screen
  • can't change pos in game
  • Every three seconds a goblin appears at a random point on the right edge of the screen.
  • The goblins move horizontally toward the left edge of the screen.
  • A mousedown event on a point P on the screen triggers a bullet firing from the center of the hero to the direction of P, provided P is not in the hero’s icon
  • bullets destroyed when goblin hit
  • bullet destroyed when hits edge of screen
  • goblin destroyed when hit
  • number of goblins caught should update when a goblin is caught
  • when goblin hit, play sound
  • when goblin hit left edge, update number of escaped
  • play sound when goblin escapes
  • if goblin hits hero, goblin should be considered shot
  • fullscreen
  • bg image should cover entire screen
  • use local storage for goblins caught
  • use local storage for goblins escaped
  • add bg sound

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.0%
  • HTML 4.0%