Move the score text and stop awarding score for time

This commit is contained in:
2014-07-13 23:46:26 -07:00
parent 6cc2ce371d
commit 52f60ade6f

View File

@@ -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,