Skip to content
Browse files

Balancing boost.

  • Loading branch information...
1 parent 78b924e commit 6603ecd777c177e0c75f58d98e5e514f1e98f1bd @presstube committed Oct 31, 2011
Showing with 9 additions and 3 deletions.
  1. +1 −1 README.md
  2. +8 −2 src/hunted/HuntedApp.js
View
2 README.md
@@ -13,5 +13,5 @@ Why?
Dependencies
------------
- Easel.js for its display list and AS-like objects.
-- Underscore.js for all around handiness.
+- Underscore.js for its all around handiness.
- jQuery & hotkeys plugin (slightly modified) for reliable keyboard input.
View
10 src/hunted/HuntedApp.js
@@ -32,7 +32,7 @@
skinClass: ShipSkinGeneric,
drag: 0.95,
thrustLimit: 2,
- boostThrust: 10,
+ boostThrust: 5,
boostFuelLimit: fuelLimit,
boostRegenerateFrequency: 4,
steeringResponse: 2,
@@ -54,7 +54,9 @@
wrapRadius: wrapRadius,
numItems: 20,
ship: ship
- });
+ }),
+
+ mask = PTUtils.makeCircle('555', 500);
// avoider = new Ship({
// name: "avoider",
@@ -79,6 +81,8 @@
stage.addChild(fpsLabel, levelText, scaleStage);
+ mask.compositeOperation = "destination-atop";
+
levelText.x = 10; levelText.y = 40;
scaleStage.addChild(trackingStage);
@@ -277,6 +281,8 @@
canvas.height = window.innerHeight;
scaleStage.x = canvas.width / 2;
scaleStage.y = canvas.height / 2;
+ mask.x = canvas.width / 2;
+ mask.y = canvas.height / 2;
stage.update();
}

0 comments on commit 6603ecd

Please sign in to comment.
Something went wrong with that request. Please try again.