got rid of background due to misfit
This commit is contained in:
@@ -69,7 +69,7 @@ function setup() {
|
|||||||
// disable the outline of shapes
|
// disable the outline of shapes
|
||||||
Movementloop()
|
Movementloop()
|
||||||
noStroke();
|
noStroke();
|
||||||
bg = loadImage('web/background.png');
|
// bg = loadImage('background.webp');
|
||||||
}
|
}
|
||||||
|
|
||||||
function score() {
|
function score() {
|
||||||
@@ -181,8 +181,7 @@ function draw() {
|
|||||||
gameOver();
|
gameOver();
|
||||||
phase();
|
phase();
|
||||||
// draw background
|
// draw background
|
||||||
//myBullet.draw();
|
background(0, 0, 0, 100);
|
||||||
background(bg);
|
|
||||||
|
|
||||||
if (homescreenOn == true) {
|
if (homescreenOn == true) {
|
||||||
homescreen();
|
homescreen();
|
||||||
|
Reference in New Issue
Block a user