diff --git a/game.js b/game.js index 3468678..f08aa56 100644 --- a/game.js +++ b/game.js @@ -124,9 +124,6 @@ animations : [ {sprite : new Image()}, - {sprite : new Image()}, - {sprite : new Image()}, - {sprite : new Image()}, ], rotatation : 0, x : 50, @@ -315,10 +312,7 @@ UI.gameOver.sprite.src="img/go.png"; UI.getReady.sprite.src="img/getready.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"; -bird.animations[1].sprite.src="img/bird/b1.png"; -bird.animations[2].sprite.src="img/bird/b2.png"; -bird.animations[3].sprite.src="img/bird/b0.png"; +bird.animations[0].sprite.src="img/bird/bob.png"; SFX.start.src = "sfx/start.wav" SFX.flap.src = "sfx/flap.wav" SFX.score.src = "sfx/score.wav" diff --git a/img/bird/bob.png b/img/bird/bob.png new file mode 100644 index 0000000..c21c6dd Binary files /dev/null and b/img/bird/bob.png differ diff --git a/img/botpipe-old.png b/img/botpipe-old.png new file mode 100644 index 0000000..427a916 Binary files /dev/null and b/img/botpipe-old.png differ diff --git a/img/botpipe.png b/img/botpipe.png index 427a916..9aa6408 100644 Binary files a/img/botpipe.png and b/img/botpipe.png differ diff --git a/img/toppipe-old.png b/img/toppipe-old.png new file mode 100644 index 0000000..4b700c7 Binary files /dev/null and b/img/toppipe-old.png differ diff --git a/img/toppipe.png b/img/toppipe.png index 4b700c7..ab077d8 100644 Binary files a/img/toppipe.png and b/img/toppipe.png differ