diff --git a/game.js b/game.js index 87c00ff..60a141b 100644 --- a/game.js +++ b/game.js @@ -249,8 +249,8 @@ case state.Play : sctx.lineWidth = "2"; sctx.font = "35px Squada One"; - sctx.fillText(this.score.curr,scrn.width/2,50); - sctx.strokeText(this.score.curr,scrn.width/2,50); + sctx.fillText(this.score.curr,scrn.width/2-5,50); + sctx.strokeText(this.score.curr,scrn.width/2-5,50); break; case state.gameOver : sctx.lineWidth = "2"; @@ -285,8 +285,8 @@ gnd.sprite.src="img/ground.png"; bg.sprite.src="img/BG.png"; pipe.top.sprite.src="img/toppipe.png"; pipe.bot.sprite.src="img/botpipe.png"; +UI.gameOver.sprite.src="img/go.png"; UI.getReady.sprite.src="img/getready.png"; -UI.gameOver.sprite.src="img/gameOver.png"; UI.tap[0].sprite.src="img/tap/t0.png"; UI.tap[1].sprite.src="img/tap/t1.png"; bird.animations[0].sprite.src="img/bird/b0.png"; diff --git a/img/gameover.png b/img/gameover.png deleted file mode 100644 index 088e935..0000000 Binary files a/img/gameover.png and /dev/null differ diff --git a/img/go.png b/img/go.png new file mode 100644 index 0000000..00f3e91 Binary files /dev/null and b/img/go.png differ diff --git a/img/nGameOver.png b/img/nGameOver.png deleted file mode 100644 index 239dc98..0000000 Binary files a/img/nGameOver.png and /dev/null differ diff --git a/index.html b/index.html index a87f074..7c4d753 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,4 @@ +