Update semag/crossnroad/index.html

This commit is contained in:
LEGALISE_PIRACY 2024-05-09 06:48:58 +00:00
parent 81fe8dbc4e
commit 78bbef0648

View File

@ -110,7 +110,7 @@ function preload() {
} }
function setup() { function setup() {
createCanvas(700, 700); createCanvas(windowWidth, windowHeight);
carSpeed = random(5, 15); carSpeed = random(5, 15);
carType = random(["🚗", "🚙", "🚓"]); carType = random(["🚗", "🚙", "🚓"]);
@ -144,6 +144,7 @@ function draw() {
} }
push(); push();
textFont('Press');
textSize(50); textSize(50);
text("Score: " + score, 10, 50); text("Score: " + score, 10, 50);
pop(); pop();