Merge branch 'main' of https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61
This commit is contained in:
BIN
web/background.png
Normal file
BIN
web/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.9 KiB |
@@ -69,6 +69,7 @@ function setup() {
|
|||||||
// disable the outline of shapes
|
// disable the outline of shapes
|
||||||
Movementloop()
|
Movementloop()
|
||||||
noStroke();
|
noStroke();
|
||||||
|
bg = loadImage('web/background.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
function score() {
|
function score() {
|
||||||
@@ -181,7 +182,7 @@ function draw() {
|
|||||||
phase();
|
phase();
|
||||||
// draw background
|
// draw background
|
||||||
//myBullet.draw();
|
//myBullet.draw();
|
||||||
background(0, 0, 0, 100);
|
background(bg);
|
||||||
|
|
||||||
if (homescreenOn == true) {
|
if (homescreenOn == true) {
|
||||||
homescreen();
|
homescreen();
|
||||||
|
Reference in New Issue
Block a user