diff --git a/web/game.js b/web/game.js index 3fd65ea..03960c4 100644 --- a/web/game.js +++ b/web/game.js @@ -69,7 +69,7 @@ function setup() { // disable the outline of shapes Movementloop() noStroke(); - //bg = loadImage('web/background.png'); + bg = loadImage('web/background.png'); } function score() { @@ -182,7 +182,7 @@ function draw() { phase(); // draw background //myBullet.draw(); - background(0, 0, 0, 100); + background(bg); if (homescreenOn == true) { homescreen();