Skip to content

Commit

Permalink
Added new pipe design to the sketch.js file
Browse files Browse the repository at this point in the history
I have addressed the issue raised CodingTrain#24 and have gone ahead to create an original and new pipe design which also fits the theme of the Flappy Bird Clone Game and have ensured to replace the current pipe design with the new design which has been edited in the sketch.js file as well as the graphics folder
  • Loading branch information
A-Edusei authored Mar 26, 2018
1 parent 5bdce5c commit 4bf8515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ var prevTouched = touched;


function preload() {
pipeBodySprite = loadImage('./graphics/pipe_body.png');
pipePeakSprite = loadImage('./graphics/pipe_body.png');
pipeBodySprite = loadImage('graphics/pipe_marshmallow.png');
pipePeakSprite = loadImage('graphics/pipe_marshmallow.png');
birdSprite = loadImage('graphics/train.png');
bgImg = loadImage('graphics/background.png');
}
Expand Down

0 comments on commit 4bf8515

Please sign in to comment.