- 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
forked from lostdecade/simple_canvas_game
-
Notifications
You must be signed in to change notification settings - Fork 0
A1 CP317
Just-Glue-It/simple_canvas_game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A1 CP317
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 96.0%
- HTML 4.0%