From e2092c9aa71a28d1e7fec7a36347b966f5d60925 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Thu, 29 Dec 2011 04:09:58 +0100 Subject: [PATCH] Speed the game up on death, too. --- tools/game/bong/bong.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/game/bong/bong.js b/tools/game/bong/bong.js index 4d58046..5048f57 100644 --- a/tools/game/bong/bong.js +++ b/tools/game/bong/bong.js @@ -154,12 +154,14 @@ pong.prototype.update= function(t){ this.setup(-1); this.ball.ang=Math.PI-this.ball.ang; this.game.run=1; + this.ball.size.s*=1.05; }; if(this.ball.x-this.ball.size.w<-field.w){ this.score.right.pts++; this.setup(1); this.game.run=1; + this.ball.size.s*=1.05; }; if(this.ball.ang<0)