Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
James Paterson committed Oct 31, 2011
1 parent 4536232 commit 2534ff3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions README.md
@@ -1,19 +1,17 @@
Hunted Hunted
====== ======
- Avoid and/or destroy your foes until they swarm and overwhelm you despite your immense dogfighting prowess. - Avoid death & destroy your foes!
- Controls: - Controls:
- **left,right,up,down** arrows to maneuver - **left,right,up,down** arrows to maneuver
- **space** to fire pee sword - **space** to fire
- **s** to fire seeker
- **shift** to boost - **shift** to boost


Why? Why?
---- ----
- Because making a crappy game more fun than playing a good one. - Because making a crappy game more fun than playing a good one.
- I am a JS noob and want to get my code reviewed by others who know what they are doing.


Dependencies Dependencies
------------ ------------
- Grant Skinner's Easel.js to ease me into JS with some handy AS-like objects and a much needed display list for canvas. - Easel.js for its display list and AS-like objects.
- Underscore.js b/c it is mighty handy. - Underscore.js b/c for all around handiness.
- jQuery hotkeys plugin (slightly modified to fit my purposes) for reliable keyboard input. - jQuery & hotkeys plugin (slightly modified) for reliable keyboard input.
6 changes: 3 additions & 3 deletions src/hunted/HuntedApp.js
Expand Up @@ -6,7 +6,7 @@
gameState = "GAME_OVER", gameState = "GAME_OVER",
numChasersToSpawn = 1, numChasersToSpawn = 1,
paused = false, paused = false,
wrapRadius = 1000, wrapRadius = 3000,
chasers = [], chasers = [],
projectiles = [], projectiles = [],
canvas = document.getElementById("canvas"), canvas = document.getElementById("canvas"),
Expand All @@ -23,7 +23,7 @@
trackingStage : trackingStage, trackingStage : trackingStage,
wrapRadius: wrapRadius, wrapRadius: wrapRadius,
nav: nav, nav: nav,
numItems: 20 numItems: 50
}), }),


ship = new Ship({ ship = new Ship({
Expand Down Expand Up @@ -52,7 +52,7 @@
scaleStage: scaleStage, scaleStage: scaleStage,
trackingStage: trackingStage, trackingStage: trackingStage,
wrapRadius: wrapRadius, wrapRadius: wrapRadius,
numItems: 5, numItems: 20,
ship: ship ship: ship
}); });


Expand Down

0 comments on commit 2534ff3

Please sign in to comment.