From 52f60ade6f9cd25eede90d65890752da96c5c235 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sun, 13 Jul 2014 23:46:26 -0700 Subject: [PATCH] Move the score text and stop awarding score for time --- moonlight/src/GameStates.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/moonlight/src/GameStates.js b/moonlight/src/GameStates.js index 7bd8014..e6ce7ca 100644 --- a/moonlight/src/GameStates.js +++ b/moonlight/src/GameStates.js @@ -4,8 +4,6 @@ var GameState = function(game) { GameState.prototype.updateClock = function() { this.clock.setSeconds(this.clock.getSeconds() + 1); - if ( this.clock.getSeconds() == 59) - player.score += SCORE_PERSECOND; this.clock.setMilliseconds(0); } @@ -164,7 +162,7 @@ GameState.prototype.create = function() // ); this.scoreTextBitmap = bitmapText('', FONTSIZE_MEDIUM); - this.scoreText = this.game.add.image(516, + this.scoreText = this.game.add.image(484, 480 - 68 + 31, this.scoreTextBitmap, 0,