From 78bbef0648de07c7c685bfd0e6f2cdc1c5fa1a59 Mon Sep 17 00:00:00 2001 From: LEGALISE_PIRACY Date: Thu, 9 May 2024 06:48:58 +0000 Subject: [PATCH] Update semag/crossnroad/index.html --- semag/crossnroad/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/semag/crossnroad/index.html b/semag/crossnroad/index.html index a2e3d48a..1f99d0a9 100644 --- a/semag/crossnroad/index.html +++ b/semag/crossnroad/index.html @@ -110,7 +110,7 @@ function preload() { } function setup() { - createCanvas(700, 700); + createCanvas(windowWidth, windowHeight); carSpeed = random(5, 15); carType = random(["🚗", "🚙", "🚓"]); @@ -144,6 +144,7 @@ function draw() { } push(); + textFont('Press'); textSize(50); text("Score: " + score, 10, 50); pop();