Load the bird image
First of all let’s load Flappy and put it on the screen.
Add below command in the file [File: load-sprites.js] game.load.image(‘bird’,‘assets/bird.png’);
In the repl.it window below, we started the code with the line
In your console you should see a Jsappy bird after you press run: