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
|
||||
Movementloop()
|
||||
noStroke();
|
||||
bg = loadImage('web/background.png');
|
||||
}
|
||||
|
||||
function score() {
|
||||
@@ -181,7 +182,7 @@ function draw() {
|
||||
phase();
|
||||
// draw background
|
||||
//myBullet.draw();
|
||||
background(0, 0, 0, 100);
|
||||
background(bg);
|
||||
|
||||
if (homescreenOn == true) {
|
||||
homescreen();
|
||||
|
Reference in New Issue
Block a user