Skip to content

Commit

Permalink
iter4 newgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
pathiratk committed Mar 15, 2020
1 parent 3bc9d85 commit ca9ad4d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ versioning (category id)
* iteration 2: 2, -3
* iteration 3: 3 (no knife speed change), 4 (knife speed change)
* iteration 4: 5 (A), 6 (B) Congregate
7 (A), 8 (B) Newgrounds

* development: 0, -1, -2
2 changes: 1 addition & 1 deletion source/HitButton.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class HitButton extends FlxSprite {
public var button_sound:FlxSound = FlxG.sound.load("assets/sounds/button.wav");
override public function new(x:Float, y:Float, gateX:Float, gateY:Float, angle:Float, timer:Float = 0, rotateGate:Bool=false) {
super(x, y);
trace('timer ' + timer);
// trace('timer ' + timer);
if (timer == 0) {
loadGraphic("assets/images/yellow-button.png", true, 64, 40);
} else {
Expand Down
4 changes: 2 additions & 2 deletions source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ class Main extends Sprite
// version 1: no adaptive knife speed
// version 2: with adaptive knife speed
if (Cookie.get("version") == "1") {
categoryId = 5;
categoryId = 7;
} else if (Cookie.get("version") == "2") {
categoryId = 6;
categoryId = 8;
} else {
categoryId = 0;
}
Expand Down
2 changes: 1 addition & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ class PlayState extends FlxState
throwerSpeed: Thrower.speed
});
} else if (!button.gate.open && FlxG.pixelPerfectOverlap(knife, button.gate, 2)) {
trace("hit detected on gate");
// trace("hit detected on gate");
unstuckKnives.remove(knife);
button.gate.embedKnife(knife);

Expand Down

0 comments on commit ca9ad4d

Please sign in to comment.